Help Creating a Script for my Website

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
hernandoruiz
Newbie
Newbie
Posts: 13
Joined: May 22nd, 2013, 6:00 pm

Help Creating a Script for my Website

Post by hernandoruiz »

Hi,

I have been using Sab for years and I love it. I run Sab on my unRAID server. Within same network, I also have a separate personal web server running Ubuntu Server. I am trying to create a portal page in PHP and I am very much a novice.

I would like to have a function that basically retrieves what Sab is currently downloading, and perhaps the completion %. Can someone please show me what this function would look like and how to call it.... I think this would be really cool... O0

Oh, and I also have my Sab protected wia username and password.

Many thanks,

H.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Help Creating a Script for my Website

Post by jcfp »

There's various projects/examples using php to make api calls to sab, such as this, or this, and so on. Should be enough to get an idea how it's done.
hernandoruiz
Newbie
Newbie
Posts: 13
Joined: May 22nd, 2013, 6:00 pm

Re: Help Creating a Script for my Website

Post by hernandoruiz »

jcfp wrote:There's various projects/examples using php to make api calls to sab, such as this, or this, and so on. Should be enough to get an idea how it's done.
Jcfp, thank you very much. The links you provided were key. I am happy to say that I have implemented what I wanted!! Thanks again.

H.

;D
Post Reply