API Docs

/xmltv/get

Summary
Get listings in XMLTV Format, for a given lineup. Each successful request counts towards your download limit for the day, so use them wisely!

Parameters
/xmltv/get/{API Key}/{LineupID}/{Days}/{Offset}

  1. API Key - API Key, found on your dashboard.
  2. LineupID - ID for one of the lineups you have selected and configured in your dashboard.
  3. Days (optional) - Number of days of listings to pull (14 max, default 7)
  4. Offset (optional) - Offset by number of days (default 0) (negative accepted?)

Return
XMLTV Format

Examples
2 days of listings, starting today:
https://www.xmltvlistings.com/xmltv/get/{APIKEY}/{LINEUPID}/2
OR
https://www.xmltvlistings.com/xmltv/get/{APIKEY}/{LINEUPID}/2/0


1 days of listings, starting tomorrow:
https://www.xmltvlistings.com/xmltv/get/{APIKEY}/{LINEUPID}/1/1

/xmltv/get_lineups

Summary
Get the names and ID’s of your personal lineups. See Adding and Customizing Lineups for more information on lineups.

Parameters
/xmltv/get_lineups/{API Key}

  1. API Key - API Key, found on your dashboard

Return
<lineups>
<lineup id="{LINEUPID}">{LINEUP NAME}</lineup>
</lineups>

/xmltv/get_channels

Summary
Get channels only (no listings) for a given lineup

Parameters
/xmltv/get_channels/{API Key}/{LineupID}

  1. API Key - API Key, found on your dashboard
  2. LineupID - LineupID of one of the lineup you have selected and configured

Return
XMLTV Format, with channel elements only