Any API?

Other platforms, generic questions.
Post Reply
MPW

Any API?

Post by MPW »

Hello,

I use qbittorrent-nox and control ist from the web ui. Is there any way to read out the uncomplete torrents from a skript? Is there any API?

I mirrored the web ui with wget, but it's hard to understand.

Anyone tried this before?

Bye
MPW
christophe.dumez

Re: Any API?

Post by christophe.dumez »

Just make an HTTP request for http://WEBUI_IP:8080/json/events and parse the JSON you get back. Your script needs to take care about HTTP authentication as well.
Note that there is no actual API documentation for this, since the API is supposed to be used by our Web UI. It is however easy to reverse engineer since qBittorrent is open source.
roderick1980

Re: Any API?

Post by roderick1980 »

Hello, I've tried to make an HTTP request for http://WEBUI_IP:8080/json/events

but the only JSON I receive is this:  []

Any help?

Thanks in advance
firecore

Re: Any API?

Post by firecore »

Seems to be a list in this link.

http://code.google.com/p/transdroid/sou ... f62793a1fa

I have tried to look for the commands in the source, how ever as a non programmer its hard to know where to start. Any pointers to where to start?
Last edited by firecore on Thu Jun 07, 2012 9:10 am, edited 1 time in total.
Post Reply