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 Video 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 Name/Info request for Conan O'Brien. Note the data returned for the subsidiary requests web and themes.
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:
From the response, grab and use the data you want.
Call Similar to add recommendations of similar shows.
Use the IDs in responses to build your pages out, adding links to other pages as shown above in Roadmap to Rovi Video IDs.
Feature a Person in Movies or Television
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.