api:iptv:app:radiochannel
Table of Contents
API : IPTV : App : Radio Channel list
Introduction
This request is used by the iOS/Android apps and web clients to list radio channels.
Request
| URL | https://api.telecomx.dk/iptv/app/radiochannel | ||
|---|---|---|---|
| Method | GET | ||
| Query | token | String | Session token. |
Query example
https://api.telecomx.dk/iptv/app/radiochannel?token=12345678901234567890ABCD
Response
Array of radio channels.
| Radio channel (JSON) | ||
|---|---|---|
| _id | Id | Id of channel. |
| number | Number | Channel number. |
| name | String | Channel name. |
| url | String | URL to stream channel from. |
| logo | String | URL for channel logo (400×225 png). |
Note that properties holding no value may be omitted from the object.
Example - normal
[ { "_id": "12345678901234567890ABCD", "number": 1, "name": "DR P1", "url": "http://live-icy.gss.dr.dk:8000/A/A03H.mp3", "logo": "https://api.telecomx.dk/iptv/app/radiochannel/1234578901234567890ABCD/logo.png" }, { ... } ]
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/iptv/app/radiochannel.txt · Last modified: 2019/09/10 07:05 by Per Møller