api: json/xml Output for History data

Want something added? Ask for it here.
Post Reply
User avatar
pieteckhart
Release Testers
Release Testers
Posts: 131
Joined: April 30th, 2008, 9:34 am
Location: Netherlands
Contact:

api: json/xml Output for History data

Post by pieteckhart »

Hi!
after reading the automation-support page i was wondering if there is a way to get json/xml with history data?

if not i would gladly see it in the newer versions :D

Thanks!
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: api: json/xml Output for History data

Post by switch »

You can retrieve an xml of the history but it is only in the format of an RSS feed.

Further plain xml and json outputs are scheduled for 0.5 (xml output is already complete).
User avatar
pieteckhart
Release Testers
Release Testers
Posts: 131
Joined: April 30th, 2008, 9:34 am
Location: Netherlands
Contact:

Re: api: json/xml Output for History data

Post by pieteckhart »

ok i see, i think ill wait for the json in 0.5.

but ill look into the rss allso, maybe parsing rss in javascript isn't that hard.

what is the url of the rss?

Thanks!

EDIT: got it: http://localhost:8080/sabnzbd/rss?mode=history
Last edited by pieteckhart on May 6th, 2008, 2:10 am, edited 1 time in total.
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Re: api: json/xml Output for History data

Post by evidenceunseen »

Could the post processing script logs perhaps be put in a subfolder, for instance logs/Post Processing Logs/
the /logs directory can fill up pretty fast if you have a lot of downloads using post processing.
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Re: api: json/xml Output for History data

Post by evidenceunseen »

Becuase the logs folder can get cluttered with per file post processing logs. I don't know, it's abviously not a big deal.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: api: json/xml Output for History data

Post by shypike »

A script log is deleted when its history entry is deleted.
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Re: api: json/xml Output for History data

Post by evidenceunseen »

Oh ok, nice to know thanks.
Post Reply