transmission 0.1.1 copy "transmission: ^0.1.1" to clipboard
transmission: ^0.1.1 copied to clipboard

Flutter package to talk to a Transmission torrent instance

transmission #

Dart package to talk to a Transmission torrent instance, for a flutter package including UI widget please check transmission

Getting Started #

Create an instance of Transmission, you can then use it in any data state management you want (bloc, provider, mobx...)

final transmission = Transmission(
  baseUrl: 'http://192.168.1.35:9091/transmission/rpc',
  enableLog: true,
);

By default baseUrl uses http://localhost:9091/transmission/rpc.

Once you have that you can simply interact with transmission's data like torrents or settings.

Simple examples #

Getting torrents #

final torrents = await transmission.getTorrents();
print(torrents);

Adding torrent #

await transmission.addTorrent(filename: 'https://myUrlMagnet');

Start torrents #

final torrents = await transmission.getTorrents();
await transmission.startTorrents([torrents.first.id]);

Stop torrents #

final torrents = await transmission.getTorrents();
await transmission.stopTorrents([torrents.first.id]);

Remove torrents #

final torrents = await transmission.getTorrents();
await transmission.removeTorrents([torrents.first.id]);
1
likes
110
pub points
18%
popularity

Publisher

verified publishermylisabox.com

Flutter package to talk to a Transmission torrent instance

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio

More

Packages that depend on transmission