Is there any documentation for RPC?

Asked by Le suisse

Hi,
I would develop a mobile client for qBittorent. I know it's possible, like it's describe here : https://blueprints.launchpad.net/qbittorrent/+spec/web-interface but I didn't find documentation.
Do you have infos for me?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
qBittorrent Edit question
Assignee:
No assignee Edit question
Solved by:
Christophe Dumez
Solved:
Last query:
Last reply:
Revision history for this message
Best Christophe Dumez (hydr0g3n) said :
#1

What kind of Mobile client would you like to develop? Is it a Web client (using a Web browser) or a "heavy" client based on a regular GUI?

At the moment, qBittorrent can only be controlled remotely via its Web UI. The Web UI allows to controlling only part of qBittorrent though.

To develop a remote GUI, one would have to use the same HTTP commands as for the Web UI (because there is no other way to remotely control it for now). Commands look like
http://localhost:8080/pause

parameters are passed in POST and the returned data is formatted in JSON.

Available commands can be seen in src/httpconnection.cpp file (no real doc for now). Note that HTTP authentication is required to access such commands.

Revision history for this message
Le suisse (gerbetthomas) said :
#2

Wow, thanks for you quick answer.
It's a "heavy" client. In reality, I want submit a patch for Transdroid : http://www.transdroid.org/ This feature was requested by users (and I use too qBittorrent...).

Revision history for this message
Le suisse (gerbetthomas) said :
#3

Thanks Christophe Dumez, that solved my question.

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#4

The Transdroid project seems very interesting indeed.
Please do not hesitate to contact me (chris <at> qbittorrent.org) if you lack remote commands.