Stations
Stations airings
/stations/ /airings
Return schedule and associated program metadata for a single station for a maximum period of 14 days. Schedule information can be requested up to 14 days in advance.
Request Parameters
| Parameter | Mandatory? | Description |
|---|---|---|
| stationId | Yes | StationId, which can be retrieved by calling /lineups/ |
| lineupId | No | LineupId, which can be retrieved by calling /lineups API. If omitted, channel numbers will not be returned in response data. |
| startDateTime | Yes | DateTime to begin grid information, specified in ISO 8601 format. Must be no more than 14 days after current dateTime. |
| endDateTime | No | DateTime to end grid information, specified in ISO 8601 format. Must be no more than 14 days after current dateTime. If not specified, defaults to 3 hours after current dateTime. |
| imageSize | No | Small, medium, large, master sizes are available. Valid values are: Sm, Md, Lg, Ms. If not specified, defaults to Md. If requested image size is not available, generic image will be returned. |
| imageAspectTV | No | Requested aspect ratio (horizontal by vertical) for TV show images.Valid values are: 2x3, 3x4, 4x3, 16x9 If not specified, defaults to 2x3 If requested aspect ratio is not available, generic image will be returned. |
| imageText | No | Boolean indicating preference for program image types with text (banners) or without text (iconics). If requested preference is not available, image selection will continue to next type (banner/iconic), before finally returning generic if no image found. Defaults to true for text preference. |
| api_key | Yes | 24-character key obtained during application registration |
Response Body
| Response | Type | Description |
|---|---|---|
| Station airings | Airing [ ] | Collection of schedule and program metadata |
Sample Request
Return program schedule information for specified station and time range.
Sample Response
Code
Last modified on