I'm using the http api (json) to get the history of the downloaded nzbs.
It's not clear to me on how to get the date on which on item is downloaded. What field can I use from the json string?
The api call that I use: api?mode=history&start=START&limit=LIMIT&output=json (http://wiki.sabnzbd.org/api)
API history date downloaded
Forum rules
Help us help you:
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.
Re: API history date downloaded
It's the "completed" field.
The format is in "Unix Time" (Seconds since 1-1-1970), which is a conventional timestamp support by almost all programming languages.
The format is in "Unix Time" (Seconds since 1-1-1970), which is a conventional timestamp support by almost all programming languages.
Re: API history date downloaded
Thanks! Got it working.

