Page 1 of 1

Help Creating a Script for my Website

Posted: May 22nd, 2013, 6:08 pm
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.

Re: Help Creating a Script for my Website

Posted: May 23rd, 2013, 2:51 am
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.

Re: Help Creating a Script for my Website

Posted: May 23rd, 2013, 10:38 am
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