Returns a schedule of upcoming television broadcasts that include a person or group.
This request may return a large amount of data. To speed data transmission, do the following:
name/schedule? | name=name nameid=nameid cosmoid=cosmoid amgpopid=amgpopid amgmovieid=amgmovieid amgclassicalid=amgclassicalid |
&apikey=apikey&sig=sig &serviceid=serviceid [&format=format] [&offset=offset] [&count=count] [&country=country] [&language=language] [&starttime=starttime] [&duration=duration] [&inprogress=inprogress] [©texttype=copytexttype] [&titletype=titletype] [&sourceid=sourceid] [&sourceinclude=sourceinclude] [&sourceexclude=sourceexclude] |
Click to re-sort
Parameter | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiKey | Yes | Access code that authorizes your request for data from Rovi. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
serviceid | Yes | Database ID of a television service. You can get service IDs of local television services with the REST call Listings/Services or the SOAP call GetServices. For US national services, you can use any of the following service IDs:
You can limit a returned schedule with the following optional parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sig | Yes | A calculated authorization code. To perform the calculation, execute the MD5 function on the concatenation of the following three strings:
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
amgclassicalid | Conditional | All Media Guide (AMG) ID for a classical music artist, consisting of a ten-character string that starts with Q and is followed by nine digits with leading spaces. For example: Q 9065. When using an AMG Classical ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: Q+++++9065. AMG is a legacy database of entertainment information. Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
amgmovieid | Conditional | All Media Guide (AMG) ID for a person who works in movies, consisting of a seven-character string that starts with P and is followed by 6 digits with leading spaces. For example: P 30474. When using an AMG Movie ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: P+30474. Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
amgpopid | Conditional | All Media Guide (AMG) ID for a popular music artist, consisting of a ten-character string that starts with P and is followed by 9 digits with leading spaces. For example: P 84363. When using an AMG Pop ID in a request, replace any spaces in the ID with plus (+) or percent20 (%20) symbols, like this: P++++84363. Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cosmoid | Conditional | Cosmo database ID for a person, group, or organization. You can get Cosmo IDs with Search requests. Cosmo is a database of television data.
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name | Conditional | Name of the person or group. This returns the top search result for that name. Replace any spaces with plus (+) or percent20 (%20) symbols.
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nameid | Conditional | Rovi Music ID for a person, group, or organization, consisting of the prefix MN followed by a ten-digit number. For example: MN0000114342. Your application can grab name IDs from responses to Search and from Info, Credits, Tracks, and Recommendations requests. For a complete list of requests that return name IDs, click here.
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
copytexttype | No | Type of description you want returned for the program, movie, or TV series. If you specify a copy type that has no content, no description is returned.
If you do not specify a copy type, the description chosen is based on category, shown below, and the first copy type in the category that is available:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
count | No | Number of items to be returned. The default is zero, which returns all items after the offset.
Use count and offset to paginate the response. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
country | No | Country for the language that is specified as the language parameter, stated as a two-character ISO 3166 country code. Default is US (United States). Valid country codes are:
* Includes Wales, Scotland, and Northern Ireland. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
duration | No | The number of minutes the schedule will cover, from 1 to 20160. Default is 20160 (14 days).
Note: The schedule is determined by starttime, duration, and inprogress. A duration shorter than 5 minutes may miss shows starting just before or after a half-hour point. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
format | No | Format of the returned data: json or xml. The default is JSON. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
inprogress | No | Whether shows in progress at the time specified for starttime are included in the schedule: true or false. Default is false.
Note: The schedule is determined by starttime, duration, and inprogress. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
language | No | Language of program titles, keywords, and descriptions, stated as a two-character ISO 639 language code. Valid language codes are:
Default is en (English). If a program description is not available in the language requested, a description in another language is provided if available. The language chosen is determined by the rules shown in the Language Fallback Sequence table. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
offset | No | Number of items at the start of the returned list to skip. The default is zero.
Use count and offset to paginate the response. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sourceexclude | No | If you specify sourceid to select the television sources to be returned, sourceexclude specifies attributes of the channels in the source ID list that you want to eliminate from the channels returned. The possible values are:
You can specify multiple sourceexclude values in either of the following ways:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sourceid | No | Channel sources to be included in the results. You can get source IDs from responses to a GetServiceDetails request. Note: a single television source may supply content to multiple channels.
You can specify multiple source IDs in either of the following ways:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sourceinclude | No | If you specify sourceid to select the television sources to be returned, sourceinclude specifies an attribute of the channels in the source ID list that you want to include in the list of channels returned. The possible values are:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
starttime | No | Beginning of the time period covered by the schedule, specified as a DateTime value that is between the time of the request and two weeks in the future. The default is the time of the request.
Note: The schedule is determined by duration, inprogress, and starttime. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
titletype | No | Type of program title to return as described in the TitleType table. Most programs do not carry all title types, so we recommend using the default unless another type is required. If a program does not have the type specified, the default title is returned. |
Response | Type | Description |
---|---|---|
build | String | The software release level of the API. |
code | Integer | HTTP status code. See the status field for the text part of the code. |
duration | Integer | Server processing time in milliseconds. The difference between startTime and endTime. |
endTime | String | When the server sent the response (UTC time). |
messages | Message [ ] | Elements of a multiple HTTP response status message. |
parameters | parameters | List of the parameters included in the request. |
parentIds | parentIds | All of the IDs for the requested name that are recognized by the Name API. |
serverName | String | Name of the server that processed the request. |
startTime | String | When the server received the request (UTC time). |
status | String | Text part of the HTTP status code that is shown in the code field. |
view | view | Summary of items returned in a list of items. |
Response | Type | Description |
---|---|---|
airings | VideoAiring [ ] | Broadcasts that include the person or group specified in the request. |
duration | Integer | Number of minutes the broadcast schedule covers. |
locale | String | Language and country code of the response. |
name | String | Name of the television service in less than 50 characters. |
serviceId | Integer | Database ID of the television service. |
serviceType | ServiceType | Type of television service. |
startDateTime | DateTime | Starting date and time of the broadcast schedule. |
timeZones | TimeZoneInfo [ ] | UTC offset applicable to a television service and when the offset begins and ends. Television broadcast times are returned in UTC time, and you need to apply the offset to calculate the local time. UTC offsets change with daylight savings time. |