Snr/common/v2.1/result-playlist

Jump to: navigation, search

Result

Contains information about a song in a playlist.

Elements

NameTypeDescription
id string Database ID for an item returned in a response.
messages string [ ] Reasons why the item was selected.
relevance relevance [ ] Rating of the item. Items with a higher relevance appear earlier in the response list.
song song A Rovi Music Song/Info response.
type string Entity type of the item. For a playlist response, this will always be "song."

XML Response Example

<result>
  <type>song</type>
  <relevance>
    <code>Score</code>
    <value>2.1093132</value>
  </relevance>
  <id>MT0027090491</id>
  <messages i:nil="true"/>
  <song>
    <ids>
      <amgClassicalTrackId i:nil="true"/>
      <amgPopTrackId>T 207139</amgPopTrackId>
      <isrcId i:nil="true"/>
      <muzeId i:nil="true"/>
      <trackId>MT0027090491</trackId>
    </ids>
    <title>Black Celebration</title>
    <primaryArtists>
      <AlbumArtist>
        <id>MN0000239921</id>
        <name>Depeche Mode</name>
      </AlbumArtist>
    </primaryArtists>
    <isPick>true</isPick>
    <genres>
      <Genre>
        <id>MA0000002613</id>
        <name>Pop/Rock</name>
        <weight>9</weight>
      </Genre>
      <Genre>
        <id>MA0000002572</id>
        <name>Electronic</name>
        <weight>6</weight>
      </Genre>
    </genres>
    <appearances i:nil="true"/>
    <appearancesUri>http://api.rovicorp.com/v1/song/appearances?format=xml&amp;apikey=4p1k3y&amp;trackId=MT0027090491</appearancesUri>
    <moods i:nil="true"/>
    <moodsUri>http://api.rovicorp.com/data/v1.1/song/moods?format=xml&amp;apikey=4p1k3y&amp;trackId=MT0027090491</moodsUri>
    <review i:nil="true"/>
    <reviewUri>http://api.rovicorp.com/data/v1.1/song/review?format=xml&amp;apikey=4p1k3y&amp;trackId=MT0027090491</reviewUri>
    <styles i:nil="true"/>
    <stylesUri>http://api.rovicorp.com/data/v1.1/song/styles?format=xml&amp;apikey=4p1k3y&amp;trackId=MT0027090491</stylesUri>
    <themes i:nil="true"/>
    <themesUri i:nil="true"/>
    <sample i:nil="true"/>
    <sampleUri>http://api.rovicorp.com/data/v1.1/song/sample?format=xml&amp;apikey=4p1k3y&amp;trackId=MT0027090491</sampleUri>
  </song>
</result>

JSON Response Example

{
   "type":"song",
   "relevance":[
      {
         "code":"Score",
         "value":0.810014
      }
   ],
   "id":"MT0003427225",
   "messages":null,
   "song":{
      "ids":{
         "amgClassicalTrackId":null,
         "amgPopTrackId":"T 7250756",
         "isrcId":null,
         "muzeId":"8687401",
         "trackId":"MT0003427225"
      },
      "title":"Uncle Pen",
      "primaryArtists":[
         {
            "id":"MN0000735310",
            "name":"Bill Monroe & His Bluegrass Boys"
         },
         {
            "id":"MN0000081083",
            "name":"Bill Monroe"
         }
      ],
      "isPick":true,
      "genres":[
         {
            "id":"MA0000002532",
            "name":"Country",
            "weight":9
         }
      ],
      "appearances":null,
      "appearancesUri":"http://api.rovicorp.com/data/v1.1/song/appearances?format=json&apikey=4p1k3y&trackId=MT0003427225",
      "moods":null,
      "moodsUri":"http://api.rovicorp.com/data/v1.1/song/moods?format=json&apikey=4p1k3y&trackId=MT0003427225",
      "review":null,
      "reviewUri":null,
      "styles":null,
      "stylesUri":"http://api.rovicorp.com/data/v1.1/song/styles?format=json&apikey=4p1k3y&trackId=MT0003427225",
      "themes":null,
      "themesUri":"http://api.rovicorp.com/data/v1.1/song/themes?format=json&apikey=4p1k3y&trackId=MT0003427225",
      "sample":null,
      "sampleUri":"http://api.rovicorp.com/data/v1.1/song/sample?format=json&apikey=4p1k3y&trackId=MT0003427225"
   }
}
 
Personal tools