As shown below in the sample Info response, these Info requests return not only core information, they also return preformatted requests for subsidiary information. And they can also return that subsidiary information. Rovi DVDs gives you the flexibility to get a group of related information with a single Info request or to get just subsidiary information with subsidiary requests.
If you also use Rovi Search or Rovi Recommendations, you'll notice that those requests also return Info responses.
Here are some design considerations when using the Info requests:
An Info response tells you what subsidiary data is available: if a review or biography is not available, for example, the response will not include the preformatted request for the review or biography. This feature allows your application the following program control options when parsing an Info response:
Grab an available request and offer the data as a link.
Grab an available request, execute it, and present the data.
If a request is unavailable, execute an alternative request.
You don't have to make separate requests for subsidiary information. An Info response can include subsidiary information in the response. You can, for example, include a review in an Info response by specifying that as part of the Info request. Use this feature in the following cases:
To build a page around data and subsidiary data you already know is available.
To present whatever data is available using appropriate program controls. Note: some subsidiary requests return huge amounts of data. For these requests, it's better to make a separate call so you can specify parameters that paginate the response data.
A Sample Info Response
Here's a response to a Movie/Info request for the movie Buck. Note that the request, specified below, asks for types to be included, and that the response does include the list of types and reveals that no data is available for moods.
Some requests return enormous amounts of information. Name/Filmography, a subsidiary request, returns over 175 items for Steven Spielberg.
To control the amount of data you receive in a response, subsidiary requests that return lists of data offer the parameters offset and count to set the starting point and number of items to return. Use these parameters in combination with page forward and page reverse controls.
So How Do I Start?
Let's start with that vision of yours. Here are some ideas for creating compelling content on any page, including a home page.
Call Movie/Releases to return releases of that movie or TV series.
Select the releases you want to present from the response. Consider filtering on elements such as format, purchaseable, and commentary. Would you like responses that cover only releases in you catalog? Please contact us.
Call MovieRelease/Info for each release you want to present, with include parameter values that return the data you want to present about each release.
Grab the ID of the person from a response that returns name IDs. For a complete list of requests that return name IDs, click here.
Call Name/Info with the include parameter values that return the data you want to present. Note: these values may return large amounts of data. To control the amount of data returned, make separate requests instead using the offset and count parameters.