Archived

This topic is now archived and is closed to further replies.

Quartet

Web API - Torrent List Contents

Recommended Posts

Forgive me if I've missed something obvious, but the most recent documentation of the JSON that comes back from a `list=1` request shows nineteen values for each torrent, whereas the data I'm getting back shows twenty-nine. Surely there must be something somewhere that says how to interpret those fields? I have started to pick apart the JavaScript in webgui.zip, but I am sure there must be a quicker way.

The most fruitful source of information so far seems to be the Web API list in the µtorrent forum (i.e. here). If there is something to look for elsewhere then please tell me.

Another, lesser question I have is how to establish which version of the Web API I am using. Again, I am sure it is in the JavaScript sources, but there must be a simpler way to find this out. All I can discover through the API itself is which version of the µtorrent client I am running (build 30017, if that helps).

I am sure a quick hint will set me happily on my way again.

Share this post


Link to post
Share on other sites

So here's 27 fields anyway ...

TORRENT_HASH:0
TORRENT_STATUS:1
TORRENT_NAME:2
TORRENT_SIZE:3
TORRENT_PROGRESS:4
TORRENT_DOWNLOADED:5
TORRENT_UPLOADED:6
TORRENT_RATIO:7
TORRENT_UPSPEED:8
TORRENT_DOWNSPEED:9
TORRENT_ETA:10
TORRENT_LABEL:11
TORRENT_PEERS_CONNECTED:12
TORRENT_PEERS_SWARM:13
TORRENT_SEEDS_CONNECTED:14
TORRENT_SEEDS_SWARM:15
TORRENT_AVAILABILITY:16
TORRENT_QUEUE_POSITION:17
TORRENT_REMAINING:18
TORRENT_DOWNLOAD_URL:19
TORRENT_RSS_FEED_URL:20
TORRENT_STATUS_MESSAGE:21
TORRENT_STREAM_ID:22
TORRENT_DATE_ADDED:23
TORRENT_DATE_COMPLETED:24
TORRENT_APP_UPDATE_URL:25
TORRENT_SAVE_PATH:26
 

Share this post


Link to post
Share on other sites