Data/music-api/v1.1/song/review

Jump to: navigation, search

Song/Review

Returns the most recent major review of a song.

Syntax

song/review? track=track
isrcid=isrcid
muzeid=muzeid
trackid=trackid
amgpoptrackid=amgpoptrackid
amgclassicaltrackid=amgclassicaltrackid
&apikey=apikey&sig=sig [&format=format] [&country=country] [&language=language]

Request Example 1

Request a review of the song Beat It.

Request Example 2

Request the review in XML format.

Request Parameters

Sort none.gif  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:
  • Your API key.
  • The secret key you received with your API key.
  • The Unix time. Unix time is a timestamp supported in most development environments, and is generally defined as the number of seconds since January 1, 1970 00:00:00 GMT.

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.

amgclassicaltrackid Conditional All Media Guide (AMG) ID for a track on a classical music album, consisting of a ten-character string that starts with Y and is followed by 9 digits with leading spaces. AMG is a legacy database of entertainment information. When using an AMG Classical ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols.

Condition: The request must contain just one of these arguments:

  • track
  • isrcid
  • muzeid    
  • trackid
  • amgpoptrackid
  • amgclassicaltrackid
amgpoptrackid Conditional All Media Guide (AMG) ID for a track on a popular music album, consisting of a ten-character string that starts with T and is followed by 9 digits with leading spaces. AMG is a legacy database of entertainment information. When using an AMG Pop ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols.

Condition: The request must contain just one of these arguments:

  • track
  • isrcid
  • muzeid    
  • trackid
  • amgpoptrackid
  • amgclassicaltrackid
isrcid Conditional International Standard Recording Code (ISRC) for a song recording. Note: Because some recordings have the same ISRC code as another recording or have multiple ISRC codes, you need to verify results of requests that use ISRC codes that come from outside of Rovi Cloud Services. The song you want may be available under a different ISRC code.

Condition: The request must contain just one of these arguments:

  • track
  • isrcid
  • muzeid    
  • trackid
  • amgpoptrackid
  • amgclassicaltrackid
muzeid Conditional Legacy ID from the Muze database.

Condition: The request must contain just one of these arguments:

  • track
  • isrcid
  • muzeid    
  • trackid
  • amgpoptrackid
  • amgclassicaltrackid
track Conditional Keywords from the song title. This searches for the most popular title with that combination of words. Replace spaces with plus (+) or percent20 (%20) symbols.

Condition: The request must contain just one of these arguments:

  • track
  • isrcid
  • muzeid    
  • trackid
  • amgpoptrackid
  • amgclassicaltrackid
trackid Conditional Rovi Music ID for a popular song, consisting of the prefix MT followed by a ten-digit number. For example: MT0009472348. Your application can grab track IDs from responses to the following requests:

Condition: The request must contain just one of these arguments:

  • track
  • isrcid
  • muzeid    
  • trackid
  • amgpoptrackid
  • amgclassicaltrackid
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. This request supports only en, English.

Response

Response Header

ResponseTypeDescription
buildstringThe software release level of the API.
codeintegerHTTP status code. See the status field for the text part of the code.
durationintegerServer processing time in milliseconds. The difference between startTime and endTime.
endTimestringWhen the server sent the response (UTC time).
messagesMessage [ ]Elements of a multiple HTTP response status message.
parametersparametersThe parameters that were included in the request.
parentIdsparentIdsAll of the IDs for the requested object that are recognized by the API.
serverNamestringName of the server that processed the request.
startTimestringWhen the server received the request (UTC time).
statusstringText part of the HTTP status code, which is shown in the code field.

Response for Song/Review

ResponseTypeDescription
author string Author of the review.
text string The full text of the review.

JSON Response Example

Here's the response to Request Example 1, which asks for a review of the song Beat It. The response is formatted with extra spaces and carriage returns to make it easy to read.
Requested with http://api.rovicorp.com/data/v1.1/song/review?apikey=apikey&sig=sig&trackid=MT0010499650.
{
  "status":"ok",
  "code":200,
  "messages":null,
  "build":"1.5.1.9",
  "parameters":{
    "apiKey":"apikey",
    "id":"MT0010499650"
  },
  "serverName":"tul1cssw3",
  "startTime":"2011-04-28T17:36:00.6462861Z",
  "endTime":"2011-04-28T17:36:00.6462861Z",
  "duration":0,
  "parentIds":{
    "amgPopTrackId":"T  2356497",
    "muzeId":"22315562",
    "trackId":"MT0010499650"
  },
  "review":{
    "text":"[roviLink=\"MN\"]Michael Jackson[\/roviLink] wanted to write a [roviLink=\"MA\"]rock[\/roviLink] song that appealed to kids and had an anti-violence theme. Producer [roviLink=\"MN\"]Quincy Jones[\/roviLink] tried to call guitar virtuoso [roviLink=\"MN\"]Edward Van Halen[\/roviLink]. Because [roviLink=\"MN\"]Van Halen[\/roviLink] couldn't hear [roviLink=\"MN\"]Jones[\/roviLink] on his end, he thought it was a crank call and let loose with a string of expletives. On the third try, [roviLink=\"MN\"]Jones[\/roviLink] got through and invited [roviLink=\"MN\"]Van Halen[\/roviLink] down to the recording session for [roviLink=\"MC\"]\"Beat It.\"[\/roviLink] The guitarist was so thrilled to be there that he refused any pay for his work, looking at it as a favor. The session also listed [roviLink=\"MN\"]Greg Phillinganes[\/roviLink], [roviLink=\"MN\"]Steve Porcaro[\/roviLink], [roviLink=\"MN\"]Bill Wolfer[\/roviLink], [roviLink=\"MN\"]Steve Lukather[\/roviLink], [roviLink=\"MN\"]Tom Bahler[\/roviLink], [roviLink=\"MN\"]Paul Jackson Jr.[\/roviLink], [roviLink=\"MN\"]Jeff Porcaro[\/roviLink], and engineer [roviLink=\"MN\"]Bruce Swedien[\/roviLink]. [roviLink=\"MN\"]CBS[\/roviLink]\/[roviLink=\"MN\"]Epic[\/roviLink] didn't want to release [roviLink=\"MC\"]\"Beat It\"[\/roviLink],fearing that it would interfere with the ascendancy of [roviLink=\"MC\"]\"Billie Jean\"[\/roviLink]; either [roviLink=\"MC\"]\"Billie Jean\"[\/roviLink] would be dropped from radio play lists to add [roviLink=\"MC\"]\"Beat It\"[\/roviLink] or [roviLink=\"MC\"]\"Billie Jean\"[\/roviLink] would garner so much attention that [roviLink=\"MC\"]\"Beat It\"[\/roviLink] wouldn't be added.[roviLink=\"MN\"]Jackson[\/roviLink]'s manager [roviLink=\"MN\"]Frank DiLeo[\/roviLink] assured the label that both tracks would occupy the [roviLink=\"MA\"]pop[\/roviLink] Top Ten; he turned out to be right. There was some controversy concerning the [roviLink=\"VW\"]West Side Story[\/roviLink]-themed [roviLink=\"MC\"]\"Beat It\"[\/roviLink] music video.[roviLink=\"MN\"]MTV[\/roviLink] refused to air it with the result being [roviLink=\"MN\"]CBS Records[\/roviLink] banning all their other music videos from the network.[roviLink=\"MN\"]Motown[\/roviLink] artist [roviLink=\"MN\"]Rick James[\/roviLink], whose videos were also not being played by [roviLink=\"MN\"]MTV[\/roviLink], leveled charges of racism. As the third single from [roviLink=\"MW\"]Thriller[\/roviLink], [roviLink=\"MC\"]\"Beat It\"[\/roviLink] went platinum, going to number one [roviLink=\"MA\"]R&B[\/roviLink] and number one [roviLink=\"MA\"]pop[\/roviLink] for three weeks in the spring of 1983. ~ Ed Hogan",
    "author":"Ed Hogan"
  }
}

XML Response Example

Here's the response to Request Example 2, which asks for a review of the song Beat It in XML format.
Requested with http://api.rovicorp.com/data/v1.1/song/review?apikey=apikey&sig=sig&
trackid=MT0010499650&format=xml
.
<SongReview xmlns="com.rovicorp.metadataservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <status>ok</status>
  <code>200</code>
  <messages i:nil="true"/>
  <build>1.5.1.9</build>
  <parameters>
    <apiKey>apikey</apiKey>
    <id>MT0010499650</id>
    <format>xml</format>
  </parameters>
  <serverName>tul1cssw1</serverName>
  <startTime>2011-04-28T17:35:38.8274417Z</startTime>
  <endTime>2011-04-28T17:35:38.8274417Z</endTime>
  <duration>0</duration>
  <parentIds>
    <amgPopTrackId>T 2356497</amgPopTrackId>
    <muzeId>22315562</muzeId>
    <trackId>MT0010499650</trackId>
  </parentIds>
  <review>
    <text>[roviLink=&quot;MN&quot;]Michael Jackson[/roviLink] wanted to write a [roviLink=&quot;MA&quot;]rock[/roviLink] song that appealed to kids and had an anti-violence theme. Producer [roviLink=&quot;MN&quot;]Quincy Jones[/roviLink] tried to call guitar virtuoso [roviLink=&quot;MN&quot;]Edward Van Halen[/roviLink]. Because [roviLink=&quot;MN&quot;]Van Halen[/roviLink] couldn&apos;t hear [roviLink=&quot;MN&quot;]Jones[/roviLink] on his end, he thought it was a crank call and let loose with a string of expletives. On the third try, [roviLink=&quot;MN&quot;]Jones[/roviLink] got through and invited [roviLink=&quot;MN&quot;]Van Halen[/roviLink] down to the recording session for [roviLink=&quot;MC&quot;]&quot;Beat It.&quot;[/roviLink] The guitarist was so thrilled to be there that he refused any pay for his work, looking at it as a favor. The session also listed [roviLink=&quot;MN&quot;]Greg Phillinganes[/roviLink], [roviLink=&quot;MN&quot;]Steve Porcaro[/roviLink], [roviLink=&quot;MN&quot;]Bill Wolfer[/roviLink], [roviLink=&quot;MN&quot;]Steve Lukather[/roviLink], [roviLink=&quot;MN&quot;]Tom Bahler[/roviLink], [roviLink=&quot;MN&quot;]Paul Jackson Jr.[/roviLink], [roviLink=&quot;MN&quot;]Jeff Porcaro[/roviLink], and engineer [roviLink=&quot;MN&quot;]Bruce Swedien[/roviLink]. [roviLink=&quot;MN&quot;]CBS[/roviLink]/[roviLink=&quot;MN&quot;]Epic[/roviLink] didn&apos;t want to release [roviLink=&quot;MC&quot;]&quot;Beat It&quot;[/roviLink],fearing that it would interfere with the ascendancy of [roviLink=&quot;MC&quot;]&quot;Billie Jean&quot;[/roviLink]; either [roviLink=&quot;MC&quot;]&quot;Billie Jean&quot;[/roviLink] would be dropped from radio play lists to add [roviLink=&quot;MC&quot;]&quot;Beat It&quot;[/roviLink] or [roviLink=&quot;MC&quot;]&quot;Billie Jean&quot;[/roviLink] would garner so much attention that [roviLink=&quot;MC&quot;]&quot;Beat It&quot;[/roviLink] wouldn&apos;t be added.[roviLink=&quot;MN&quot;]Jackson[/roviLink]&apos;s manager [roviLink=&quot;MN&quot;]Frank DiLeo[/roviLink] assured the label that both tracks would occupy the [roviLink=&quot;MA&quot;]pop[/roviLink] Top Ten; he turned out to be right. There was some controversy concerning the [roviLink=&quot;VW&quot;]West Side Story[/roviLink]-themed [roviLink=&quot;MC&quot;]&quot;Beat It&quot;[/roviLink] music video.[roviLink=&quot;MN&quot;]MTV[/roviLink] refused to air it with the result being [roviLink=&quot;MN&quot;]CBS Records[/roviLink] banning all their other music videos from the network.[roviLink=&quot;MN&quot;]Motown[/roviLink] artist [roviLink=&quot;MN&quot;]Rick James[/roviLink], whose videos were also not being played by [roviLink=&quot;MN&quot;]MTV[/roviLink], leveled charges of racism. As the third single from [roviLink=&quot;MW&quot;]Thriller[/roviLink], [roviLink=&quot;MC&quot;]&quot;Beat It&quot;[/roviLink] went platinum, going to number one [roviLink=&quot;MA&quot;]R&amp;B[/roviLink] and number one [roviLink=&quot;MA&quot;]pop[/roviLink] for three weeks in the spring of 1983. ~ Ed Hogan</text>
    <author>Ed Hogan</author>
  </review>
</SongReview>


See Also

↑ Top

Personal tools