Skip to content

Instantly share code, notes, and snippets.

@jonfuller
Created January 20, 2011 14:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jonfuller/788001 to your computer and use it in GitHub Desktop.
Save jonfuller/788001 to your computer and use it in GitHub Desktop.
Transmission RPC
{
"arguments": {
"fields": [ "id", "name", "percentDone", "totalSize", "rateDownload", "rateUpload" ]
},
"method": "torrent-get"
}
{
"arguments": {
},
"method": "torrent-stop"
}
curl -H "X-Transmission-Session-Id: SESSIONIDGOESHERE" -d @status.json http://localhost:9091/transmission/rpc | prettify_json.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment