Returns the movie categories and subcategories that are recognized by Rovi Video and Rovi TV Listings.
descriptor/moviecategories?&apikey=apikey&sig=sig [&categoryids=categoryids] [&include=include] [&format=format] [&offset=offset] [&count=count] [&country=country] [&language=language]
Click to re-sort
Parameter | Required | Description |
---|---|---|
apikey | Yes | Access code that authorizes your request for data from Rovi. |
sig | Yes | A calculated authorization code. To perform the calculation, execute the MD5 function on the concatenation of the following three strings:
Perform the calculation at the time of each request to be sure it's within a five-minute window of the server time. If you're testing the call in a browser, use our online signature generator to perform the calculation. |
categoryids | No | Category IDs to include in the response. To specify multiple IDs, use a comma-separated list like this: categoryids=213,214,216.
If not specified, all movie categories are returned. |
count | No | Number of items to be returned. The default is zero, which returns all items after the offset.
Use count and offset to paginate the response. |
country | No | Country of the language of the response. The current release of the API supports only US. |
format | No | Format of the returned data: json or xml. The default is JSON. |
include | No | The subcategories request. To include subcategories in the response, add include=subcategories. |
language | No | Language of the response data. This request supports only en (English). |
offset | No | Number of items at the start of the returned list to skip. The default is zero.
Use count and offset to paginate the response. |
Response | Type | Description |
---|---|---|
build | String | The software release level of the API. |
code | Integer | HTTP status code. See the status field for the text part of the code. |
duration | Integer | Server processing time in milliseconds. The difference between startTime and endTime. |
endTime | String | When the server sent the response (UTC time). |
messages | Message [ ] | Elements of a multiple HTTP response status message. |
parameters | parameters | List of the parameters included in the request. |
serverName | String | Name of the server that processed the request. |
startTime | String | When the server received the request (UTC time). |
status | String | Text part of the HTTP status code that is shown in the code field. |
view | view | Summary of items returned in a list of items. |
Response | Type | Description |
---|---|---|
moviecategories | Category [ ] | Movie categories and, if requested, subcategories in each category. |