Querying the download status of SABnzbd

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
faethon
Newbie
Newbie
Posts: 2
Joined: July 8th, 2011, 7:45 am

Querying the download status of SABnzbd

Post by faethon »

I would like to query the status of SABnzbd from a Python application. I only want to know if SABnzbd is downloading or not. What API query should I perform on SABnzbd to get this information?
Many thanks in advance...
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Querying the download status of SABnzbd

Post by shypike »

The API documentation is here: http://wiki.sabnzbd.org/api
You may need to experiment a bit. The status is available in mutiple api calls.
faethon
Newbie
Newbie
Posts: 2
Joined: July 8th, 2011, 7:45 am

Re: Querying the download status of SABnzbd

Post by faethon »

Thanks, I will check the API and see what info I get on my SABnzbd build. The wiki states it is not up to date with the new 0.5.x interface, so indeed I will need to experiment a bit :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Querying the download status of SABnzbd

Post by shypike »

It is up to date to 0.6.0.
The API doc isn't very good and not 100% complete.
Post Reply