Created
January 20, 2011 14:48
-
-
Save jonfuller/788000 to your computer and use it in GitHub Desktop.
Transmission RPC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"arguments": { | |
"fields": [ "id", "name", "percentDone", "totalSize", "rateDownload", "rateUpload" ] | |
}, | |
"method": "torrent-get" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"arguments": { | |
}, | |
"method": "torrent-stop" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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