...
Code Block | ||||
---|---|---|---|---|
| ||||
curl 'https://customer.domain/api/epg?service=betaserver&st=1549288800&et=1549375200&sort=rec_count__desc&ipp=10&ch=1,2,3,4,5,6,7,8,9,10,11,27,12,3036,14,15,74,51,53,52,17,13,19,33,3006,28,29,30,16,3003,26,47,20,21,25,24,23,31,32,34,35,36,37,38,39,40,41,42,44,3009,3007,45,3010,18,49,50&service=service_name&_=1549291338147' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: en-GB,en;q=0.5' --compressed -H 'Connection: keep-alive' -H 'Cookie: PHPSESSID=123; ssid=123; SimpleSAMLSessionID=123; SimpleSAMLAuthToken=123; username=user@customer.domain; usid=123; SamlAuthenticated=1' |
Fetch the electronic programme guide
We have an in-depth guide available here.
As a quick start you should be able to build the EPG using just the BroadcastSlot information. We include enough information about the Program for you to show the title and a thumbnail for each slot.
The call you need to make is to GET /api/metadata/v1/broadcast_slots
You'll notice that none of the channel information is included in the broadcast slot output. To get channel names and logos you should call the Channel API (see the advice for that API).
Play some content
Please see /wiki/spaces/MAPI/pages/49676718