API: up_next V2

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
Post Reply
nickk
Silicondust
Posts: 20859
Joined: Tue Jan 13, 2004 9:39 am
x 458

API: up_next V2

Post by nickk »

The up_next (Discover Now) API has been updated to bucketize and dedupe entries, as well as provide up to 2 weeks of back history. To access add V=2 to the parameter list:
https://api.hdhomerun.com/api/up_next?V ... xx]&Start=[unix time]&Count=[number of 30m timeslots]

For Now and previous timeslots we recommend displaying all entries.
For future timeslots we recommend displaying entries where StartTime >= (Timeslot = 180). The -180 is the 3 minute margin applied to bucketization.

Available data is -14 days to +14 days.
Max number of 30m timeslots that can be requested at once is 48.

Post Reply