Returns a list of terms that describe expressive characteristics of the work of a person or group, along with weightings that reflect the relative strength of each term. The moods recognized by Rovi Music are shown in the Music Moods table.
name/moods? | 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 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. | ||
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.
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. | ||
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. |
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 that is shown in the code field. |
view | view | Summary of items returned in a list of items. |
Response | Type | Description |
---|---|---|
moods | Mood [ ] | Moods that apply to the work of the person or group specified in the request. |