Jump to content

How to add additional web api?


hello_man

Recommended Posts

Hey Guys,

For my app TorrentBuddy (http://ashterisk.wordpress.com/torrent-buddy-for-windows-phone-7/), I want to add some additional web api in utorrent. Is it possible using some addon or something?

Basically I want to support ability to call some addition command using http GET and add that additional functionality to utorrent Web API. That way if a user want to have this functionality, they can install this additional addon.

thanks,

Link to comment
Share on other sites

Thanks Ultima. I read a little bit more and now understand what you mean.

Let me ask few different questions -

1. I see many people have written their own webUI (User interface to access thru browser from other machines). It seems it generally follow the path http://ip:port/gui/abc where abc could be the additional/new UI/webpages. Can I do somethign similar and may be add new files which when user request using http, I would be able to get data from querystring and do something.

If the above is possible, which I assume should be, the following questions are applicable -

1. whatever data I get thru one of these additional webpage requests,, can I persist that (may be in session?)? it would be some sort of strings.

2. Will I be able to periodically check for the torrent status and make a web post call?

I am looking to see how I can get some url from clinet and then at regular interval make a post call for notifications.

I am totally new in python and that's what it seems all these code are written in. That;s making it harder for me to understand it :). Hope you can help.

thanks

Link to comment
Share on other sites

All files served from µTorrent's backend HTTP server are static, besides the /gui/?... requests and /gui/token.html. You can request from /gui/?... as usual for periodic data.

And I'm really not certain what you mean when you say that most of the existing code is written in Python. Only a few of the community WebUI projects use Python.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...