Page 1 of 1
Get speed with the api
Posted: Wed Jul 24, 2013 6:15 am
by firecore
I was wondering if it possible to get total speed down and up, with a fixed prefix without the transfer amount?
I was checking the api and i found
https://github.com/qbittorrent/qBittorr ... globalinfo
No undocumented way to get just the speed?
Re: Get speed with the api
Posted: Wed Jul 24, 2013 9:05 am
by Dayman
[quote="firecore"]
I was wondering if it possible to get total speed down and up, with a fixed prefix without the transfer amount?
I was checking the api and i found
https://github.com/qbittorrent/qBittorr ... globalinfo
No undocumented way to get just the speed?
[/quote]
Nope. Not possible.
Re: Get speed with the api
Posted: Wed Jul 24, 2013 9:25 am
by firecore
Thanks for the reply. I was looking thru the code and i came to the same conclusion. Only way was to sessionStatus.payload_download_rate as a own api. Ill check if i can find some way to extract the info myself.
Re: Get speed with the api
Posted: Thu Jul 25, 2013 12:55 pm
by sledgehammer_999
@firecore
Just a wild guess. Are you an html/css/javascript coder? If yes, would you be interested to develop feautres/fixes for our WebUI? We currently don't have any active WebUI developer.
Re: Get speed with the api
Posted: Tue Jul 30, 2013 10:40 pm
by firecore
I'm afraid i cant help you with that. Only thing i have ever used is python and my javascript is limited to googling for every jquery i use..

I was asking because i wanted to have a qbittorrent module in maraschino.
http://youtu.be/_3nPgvlUjGM
I hope someone bites and help you guys out. Its the best torrent program.
Re: Get speed with the api
Posted: Wed Jul 31, 2013 6:08 am
by Peter
You could simply get the info and process it with Python + regex for example?
I mean... it should work. Or did I overlook something?
Re: Get speed with the api
Posted: Wed Jul 31, 2013 6:38 am
by firecore
[quote="shiki"]
You could simply get the info and process it with Python + regex for example?
I mean... it should work. Or did I overlook something?
[/quote]
No, I just decided to drop it and just use everything in dl_info.
Re: Get speed with the api
Posted: Wed Jul 31, 2013 9:08 pm
by Dayman
[quote="sledgehammer_999"]
@firecore
Just a wild guess. Are you an html/css/javascript coder? If yes, would you be interested to develop feautres/fixes for our WebUI? We currently don't have any active WebUI developer.
[/quote]
Interesting uTorrent/Bittorrent has their WebUI code in public under BSD license:
https://github.com/bittorrent/webui
Maybe we could hack into it?