Returns descriptions of the genres recognized by Rovi Music and Rovi DVDs, plus optional lists of subgenres and musical styles.
descriptor/genres?apikey=apikey&sig=sig [&genreids=genreids] [&include=include] [&format=format] [&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, 32-hex-digit authorization code. To perform the calculation, execute the MD5 function on the concatenation of the following three ASCII strings:
Express the alpha hex digits as lower case. 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. | ||||
country | No | Country the language parameter applies to. The current release of the API supports only US. | ||||
format | No | Format of the returned data: json or xml. The default is JSON. | ||||
genreids | No | Specific genre IDs you want information about. Replace any spaces in an ID with plus (+) or percent20 (%20) symbols. To specify multiple IDs, use a comma-separated list like this: genreids=MA0000002467,D+++646,D+++647.
If not specified, information about all genres is returned. | ||||
include | No | Additional information you want to be included about each genre. The possible values are:
| ||||
language | No | Language of the response data. This request supports only en (English). |
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 | The parameters that were 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, which is shown in the code field. |
view | view | Summary of items returned in a list of items. |
Response | Type | Description |
---|---|---|
genres | Genre [ ] | Genre descriptions and, if requested, a list of the subgenres of each genre. |