Program genres
/programs/genres
Returns a listing of all program genres. Optionally returns genres by specified language. This API is used as a reference to obtain genres for use in Program Search method.
Response data will be sorted alphabetically.
Request Parameters
Parameter |
Mandatory? |
Description |
language (deprecated) |
No |
Note: parameter deprecated in v1.1; only English returned, for consistency with genre text in all OnConnect program responses and Program Search parameter |
api_key |
Yes |
24-character key obtained during application registration |
Response Body
Response |
Type |
Description |
Genre list |
Genre [ ] |
List of all program genres, used for searching and categorizing programs. |
Sample Request
http://data.tmsapi.com/v1.1/programs/genres?api_key=1234567890
Sample Response
[
"Action",
"Action sports",
"Adults only",
"Adventure",
...
]