p3-transmission

Control Transmission with this API.

Installation

$ gem install p3-transmission

Usage

transmission =
  P3::Transmission::Client.new(
    :username => "username",
    :password => "password",
    :url      => "http://127.0.0.1:9091/transmission/rpc"
  )

torrents = transmission.all
torrent = transmission.find(id)
torrent = transmission.create("http://torrent.com/nice_pic.torrent")
transmission.remove(id)

Transmission Api Doc

Supported Transmission Api Version: 2.40

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am "Added some feature")
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request