api:iptv:channel:getlogo
Table of Contents
API : IPTV : Channel : Get logo
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.
The picture is a PNG at 400×225 pixels.
Request
| URL | https://api.telecomx.dk/iptv/channel/CHANNEL_ID/logo | |
|---|---|---|
| Method | GET | |
| Access level | ANY | |
| Params | CHANNEL_ID | Id of channel to download logo for |
| Query | size | [optional] if a base channel logo is returned, this may override the default size of 400×225 with another size. Valid options are: 95×54 and 177×100. |
Request example
https://api.telecomx.dk/iptv/channel/12345678901234567890ABCD/logo
Response
Binary image data: PNG at 400×225 pixels.
Example
N/A
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | id | Not found |
| 404 | logo | No logo available |
| 500 | internal_error | File not found in database |
| 500 | internal_error | <unspecified> |
api/iptv/channel/getlogo.txt · Last modified: 2017/01/23 07:48 by Per Møller