Data/movie-api/v1.1/movie/review

Jump to: navigation, search

Movie/Review

Returns a review of a movie.

Syntax

movie/review? movie=movie
movieid=movieid
cosmoid=cosmoid
&apikey=apikey&sig=sig [&format=format] [&country=country] [&language=language]

Request Example 1

Request the review of Being John Malkovich using the movie ID.

Request Example 2

Request the review using the movie title.

Request Example 3

Request the review of Being John Malkovich using the Cosmo ID.

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.

cosmoid Conditional Cosmo database ID for a movie or television series. Cosmo is a database of television information.

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

  • movie
  • movieId
  • cosmoId
movie Conditional Keywords from the title of the movie or TV series. 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 parameters:

  • movie
  • movieId
  • cosmoId
movieid Conditional AMG ID of a movie or TV series, consisting of the letter V followed by 9 digits with leading spaces. When using an AMG Video ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: V+++295550. Your application can grab movie IDs from responses to the following requests:

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

  • movie
  • movieId
  • cosmoId
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).

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 Movie/Review

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

JSON Response Example

Here's the response to Request Example 1, which asks for the review of Being John Malkovich. 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/movie/review?apikey=apikey&sig=sig&movieid=V+++180993.
{
  "status":"ok",
  "code":200,
  "messages":null,
  "build":"1.5.1.9",
  "parameters":{
    "apiKey":"apikey",
    "id":"V  180993"
  },
  "serverName":"tul1cssw3",
  "startTime":"2011-04-27T01:37:43.3023631Z",
  "endTime":"2011-04-27T01:37:43.3023631Z",
  "duration":0,
  "parentIds":{
    "cosmoId":"2512627",
    "movieId":"V  180993"
  },
  "review":{
    "text":"Surrealist cinema at its most inventive and edifying, this feature debut by music video maestro [rovilink=\"P263616\"]Spike Jonze[\/rovilink] poses questions of existentialism and celebrity without the pretension of feeling like you're in a philosophy symposium. Armed with [rovilink=\"P271315\"]Charlie Kaufman[\/rovilink]'s devilishly clever and narratively sound script, the director creates a funhouse of the mind, but never strays from its originating premise, which involves the fascination and consequences of living as someone else, even for a brief period. Filled with offbeat humor and surprisingly free of empty flash (unusual for a director whose only previous experience is in music video), [rovilink=\"V  180993\"]Being John Malkovich[\/rovilink] finds a genre niche that seems relatively untapped, similar to a film like [rovilink=\"P100454\"]David Lynch[\/rovilink]'s [rovilink=\"V    6299\"]BLUE VELVET[\/rovilink], which created a world all its own even in the midst of familiar surroundings. A mid-level success upon release, the film was honored on several critics' Ten Best lists of 1999, and garnered first-time Oscar nominations for [rovilink=\"P263616\"]Jonze[\/rovilink], [rovilink=\"P271315\"]Kaufman[\/rovilink], and co-star [rovilink=\"P 37341\"]Catherine Keener[\/rovilink], who is ruthlessly funny as the object of [rovilink=\"P 16329\"]JOHN CUSACK[\/rovilink]'s affections.",
    "author":"Jason Clark"
  }
}

XML Response Example

Here's an XML response to Request Example 1, which asks for the review of Being John Malkovich.
Requested with http://api.rovicorp.com/data/v1.1/movie/review?apikey=apikey&sig=sig&movieid=V+++180993&
format=xml
.
<MovieReview 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>V 180993</id>
    <format>xml</format>
  </parameters>
  <serverName>tul1cssw4</serverName>
  <startTime>2011-04-27T01:38:03.0493523Z</startTime>
  <endTime>2011-04-27T01:38:03.0649774Z</endTime>
  <duration>15</duration>
  <parentIds>
    <cosmoId>2512627</cosmoId>
    <movieId>V 180993</movieId>
  </parentIds>
  <review>
    <text>Surrealist cinema at its most inventive and edifying, this feature debut by music video maestro [rovilink=&quot;P263616&quot;]Spike Jonze[/rovilink] poses questions of existentialism and celebrity without the pretension of feeling like you&apos;re in a philosophy symposium. Armed with [rovilink=&quot;P271315&quot;]Charlie Kaufman[/rovilink]&apos;s devilishly clever and narratively sound script, the director creates a funhouse of the mind, but never strays from its originating premise, which involves the fascination and consequences of living as someone else, even for a brief period. Filled with offbeat humor and surprisingly free of empty flash (unusual for a director whose only previous experience is in music video), [rovilink=&quot;V 180993&quot;]Being John Malkovich[/rovilink] finds a genre niche that seems relatively untapped, similar to a film like [rovilink=&quot;P100454&quot;]David Lynch[/rovilink]&apos;s [rovilink=&quot;V 6299&quot;]BLUE VELVET[/rovilink], which created a world all its own even in the midst of familiar surroundings. A mid-level success upon release, the film was honored on several critics&apos; Ten Best lists of 1999, and garnered first-time Oscar nominations for [rovilink=&quot;P263616&quot;]Jonze[/rovilink], [rovilink=&quot;P271315&quot;]Kaufman[/rovilink], and co-star [rovilink=&quot;P 37341&quot;]Catherine Keener[/rovilink], who is ruthlessly funny as the object of [rovilink=&quot;P 16329&quot;]JOHN CUSACK[/rovilink]&apos;s affections.</text>
    <author>Jason Clark</author>
  </review>
</MovieReview>


See Also

↑ Top

Personal tools