Snr/common/v2/result-recommendations

Jump to: navigation, search

Result

Contains information about a recommendation.

Elements

NameTypeDescription
album album [ ] Album/Info response, returned only for a request with an entity type of album.
id String Database ID for an recommendation returned in a response.
messages String [ ] Reasons why an item was selected as a recommendation.
movie movie [ ] A Movie/Info response, returned only for a search request with an entitytype of movie or tvseries.
name name [ ] Name/Info response, returned only for a search request with an entity type of artist.
relevance relevance [ ] Rating of a recommendation. Recommendations with a higher relevance appear earlier in the list of items.
type String Entity type of a recommendation.
video video [ ] Video/Info response, returned only for requests with a video endpoint and an entity type of movie, tvseries, or onetimeonly.

XML Response Example

<result>
  <type>album</type>
  <relevance>
    <code>Score</code>
    <value>2.7558</value>
  </relevance>
  <id>MW0000310812</id>
  <messages i:nil="true"/>
  <album>
    <ids>
      <albumId>MW0000310812</albumId>
      <amgClassicalId i:nil="true"/>
      <amgPopId>R 12210</amgPopId>
    </ids>
    <title>The Immaculate Collection</title>
    <primaryArtists>
      <AlbumArtist>
        <id>MN0000237205</id>
        <name>Madonna</name>
      </AlbumArtist>
    </primaryArtists>
    <guestArtists>
      <AlbumArtist>
        <id>MN0000200074</id>
        <name>Lenny Kravitz</name>
      </AlbumArtist>
    </guestArtists>
    <flags>
      <a:string>Compilation</a:string>
    </flags>
    <duration>4389</duration>
    <originalReleaseDate>1990-11-13</originalReleaseDate>
    <rating>9</rating>
    <isPick>true</isPick>
    <genres>
      <Genre>
        <id>MA0000002613</id>
        <name>Pop/Rock</name>
        <weight>10</weight>
      </Genre>
      <Genre>
        <id>MA0000002572</id>
        <name>Electronic</name>
        <weight>9</weight>
      </Genre>
    </genres>
    <headlineReview>
      <text>The quintessential singles collection by the quintessential singles artist of the &apos;80s and early &apos;90s.</text>
      <author>Pat Sullivan</author>
    </headlineReview>
    <classicalReview i:nil="true"/>
    <classicalReviewUri i:nil="true"/>
    <credits i:nil="true"/>
    <creditsUri>http://api.rovicorp.com/v1/album/credits?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</creditsUri>
    <images i:nil="true"/>
    <imagesUri>http://api.rovicorp.com/v1/album/images?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</imagesUri>
    <moods i:nil="true"/>
    <moodsUri>http://api.rovicorp.com/v1/album/moods?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</moodsUri>
    <primaryReview i:nil="true"/>
    <primaryReviewUri>http://api.rovicorp.com/v1/album/primaryReview?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</primaryReviewUri>
    <releases i:nil="true"/>
    <releasesUri>http://api.rovicorp.com/v1/album/releases?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</releasesUri>
    <similar i:nil="true"/>
    <similarUri>http://api.rovicorp.com/v1/album/similar?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</similarUri>
    <styles i:nil="true"/>
    <stylesUri>http://api.rovicorp.com/v1/album/styles?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</stylesUri>
    <themes i:nil="true"/>
    <themesUri i:nil="true"/>
    <tracks i:nil="true"/>
    <tracksUri>http://api.rovicorp.com/v1/album/tracks?format=xml&amp;apikey=4p1k3y&amp;albumid=MW0000310812</tracksUri>
  </album>
</result>

JSON Response Example

{
   "type":"tvseries",
   "relevance":[
      {
         "code":"Score",
         "value":4.7
      }
   ],
   "id":6688066,
   "messages":null,
   "video":{
      "ids":{
         "amgMovieId":null,
         "cosmoId":"6688066",
         "iguideId":6688066
      },
      "seriesIds":null,
      "masterTitle":"Burn Notice",
      "secondaryTitle":"",
      "episodeTitle":null,
      "category":"Other",
      "color":"Color",
      "lastAirDate":null,
      "originalAirDate":"2007-06-28T00:00:00Z",
      "programType":"Series",
      "releaseYear":2007,
      "duration":60,
      "subcategory":"action/adventure",
      "syndicated":false,
      "programLanguage":"English",
      "partNumber":null,
      "partTotal":null,
      "parentalRatings":null,
      "parentalRatingsUri":"http://api.rovicorp.com/v1/video/parentalratings?format=json&apikey=4p1k3y&cosmoid=6688066",
      "cast":null,
      "castUri":"http://api.rovicorp.com/v1/video/cast?format=json&apikey=4p1k3y&cosmoid=6688066",
      "crew":null,
      "crewUri":"http://api.rovicorp.com/v1/video/crew?format=json&apikey=4p1k3y&cosmoid=6688066",
      "awards":null,
      "awardsUri":"http://api.rovicorp.com/v1/video/awards?format=json&apikey=4p1k3y&cosmoid=6688066",
      "images":null,
      "imagesUri":"http://api.rovicorp.com/v1/video/images?format=json&apikey=4p1k3y&cosmoid=6688066",
      "clip":null,
      "clipUri":"",
      "seasons":null,
      "seasonsUri":"http://api.rovicorp.com/v1/video/seasons?format=json&apikey=4p1k3y&cosmoid=6688066",
      "variants":null,
      "variantsUri":"http://api.rovicorp.com/v1/video/variants?format=json&apikey=4p1k3y&cosmoid=6688066",
      "schedule":"",
      "scheduleUri":"",
      "event":null,
      "eventUri":"",
      "keywords":null,
      "keywordsUri":"http://api.rovicorp.com/v1/video/keywords?format=json&apikey=4p1k3y&cosmoid=6688066",
      "moods":null,
      "moodsUri":"",
      "related":null,
      "relatedUri":"http://api.rovicorp.com/v1/video/related?format=json&apikey=4p1k3y&cosmoid=6688066",
      "review":null,
      "reviewUri":"",
      "synopsis":null,
      "synopsisUri":"http://api.rovicorp.com/v1/video/synopsis?format=json&apikey=4p1k3y&cosmoid=6688066",
      "themes":null,
      "themesUri":"http://api.rovicorp.com/v1/video/themes?format=json&apikey=4p1k3y&cosmoid=6688066",
      "tones":null,
      "tonesUri":"http://api.rovicorp.com/v1/video/tones?format=json&apikey=4p1k3y&cosmoid=6688066"
   }
)
 
Personal tools