Get speed with the api

Other platforms, generic questions.
Post Reply
firecore

Get speed with the api

Post 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?
Dayman

Re: Get speed with the api

Post 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.
firecore

Re: Get speed with the api

Post 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.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Get speed with the api

Post 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.
firecore

Re: Get speed with the api

Post 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.. :D 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.
User avatar
Peter
Administrator
Administrator
Posts: 2702
Joined: Wed Jul 07, 2010 6:14 pm

Re: Get speed with the api

Post 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?
firecore

Re: Get speed with the api

Post 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.
Dayman

Re: Get speed with the api

Post 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?
Post Reply