api:iptv:channel:getlogo2
Table of Contents
API : IPTV : Channel : Get logo for STB
Introduction
This request is used to download/get/show the channels logo.
If no logo has been uploaded but a base channel has been linked, then the base channels logo is served instead.
Request
| URL | https://api.telecomx.dk/iptv/channel/logo/PORTAL_NAME/SIZE/NUMBER | |
|---|---|---|
| Method | GET | |
| Access level | ANY | |
| Params | PORTAL_NAME | Name of the portal the channel belongs to - see IPTV settings. |
| SIZE | Size of the logo to return. Default is 400×225. If a base channel logo is returned, it may also be 95×54 (list logo) or 177×100 (bottom right logo). | |
| NUMBER | Channel number (not id). | |
Request example
https://api.telecomx.dk/iptv/channel/logo/Telecom_X_ApS/400x225/7 https://api.telecomx.dk/iptv/channel/logo/Telecom_X_ApS/400x225/7.png
Response
Binary image data: PNG at 400×225, 177×100 or 95×54 pixels.
Example
N/A
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | id | Not found |
| 500 | internal_error | File not found in database |
| 500 | internal_error | <unspecified> |
api/iptv/channel/getlogo2.txt · Last modified: 2017/02/06 10:44 by Per Møller