Returns the movie subgenres that apply to the work of a person or group along with weightings that reflect the importance of each movie subgenre.
Note: The genres that apply to a person or group are returned in Name/Info responses.
name/moviestyles? | name=name nameid=nameid cosmoid=cosmoid amgpopid=amgpopid amgmovieid=amgmovieid amgclassicalid=amgclassicalid |
&apikey=apikey&sig=sig [&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, 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. | ||
amgclassicalid | Conditional | All Media Guide (AMG) ID for a classical music artist, consisting of a ten-character string that starts with Q and is followed by nine digits with leading spaces. For example: Q 9065. When using an AMG Classical ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: Q+++++9065. AMG is a legacy database of entertainment information. Condition: The request must contain just one of these parameters:
| ||
amgmovieid | Conditional | All Media Guide (AMG) ID for a person who works in movies, consisting of a seven-character string that starts with P and is followed by 6 digits with leading spaces. For example: P 30474. When using an AMG Movie ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: P+30474. Condition: The request must contain just one of these parameters:
| ||
amgpopid | Conditional | All Media Guide (AMG) ID for a popular music artist, consisting of a ten-character string that starts with P and is followed by 9 digits with leading spaces. For example: P 84363. When using an AMG Pop ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: P++++84363. Condition: The request must contain just one of these parameters:
| ||
cosmoid | Conditional | Cosmo database ID for a person, group, or organization. You can get Cosmo IDs with Search requests. Cosmo is a database of television data.
Condition: The request must contain just one of these parameters:
| ||
name | Conditional | Name of the person or group. This returns the top search result for that name. Replace any spaces with plus (+) or percent20 (%20) symbols.
Condition: The request must contain just one of these parameters:
| ||
nameid | Conditional | Rovi Music ID for a person, group, or organization, consisting of the prefix MN followed by a ten-digit number. For example: MN0000114342. Your application can grab name IDs from responses to Search and from Info, Credits, Tracks, and Recommendations requests. For a complete list of requests that return name IDs, click here.
Condition: The request must contain just one of these parameters:
| ||
count | No | Number of items to be returned. The default is zero, which returns all items after the offset. | ||
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. | ||
language | No | Language of the response data. This request supports only en (English). | ||
offset | No | Number of items at the start of the available data to skip. The default is zero.
Use count and offset to paginate the data that is available to be returned. |
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. |
parentIds | parentIds | All of the IDs for the requested name that are recognized by the Name API. |
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 |
---|---|---|
movieStyles | Style [ ] | Movie subgenres relevant to the work of the person or group, from most to least important.
Subgenres are sorted by weight, from highest to lowest, and subgenres with the same weight are sorted alphabetically. |