V9.Common:LinearSchedule

Jump to: navigation, search

LinearSchedule

Contains TV listings.

Elements

NameTypeDescription
Airings ListingsAiring [ ] The broadcast schedule.
Duration Integer Number of minutes the broadcast schedule covers.
Locale String Language and country code of the response, as specified by Locale in the request.
Name String Name of the television service in less than 50 characters.
ServiceId Integer Database ID of the television service.
ServiceType String Type of television service.
StartDate DateTime The 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.

XML Response Example

<Schedule>
   <Locale>en-US</Locale>
   <ServiceId>360861</ServiceId>
   <Name>Beverly Hills - Time Warner</Name>
   <ServiceType>Cable</ServiceType>
   <StartDate>2011-03-01T23:00:00Z</StartDate>
   <Duration>30</Duration>
   <TimeZones>
      <TimeZoneInfo>
         <StartDateTime>2010-11-07T09:00:00Z</StartDateTime>
         <EndDateTime>2011-03-13T10:00:00Z</EndDateTime>
         <Offset>-480</Offset>
      </TimeZoneInfo>
   </TimeZones>
   <Airings>
      <ListingsAiring>
         <ProgramId>19131002</ProgramId>
         <SeriesId>21985</SeriesId>
         <InstanceId xsi:nil="true"/>
         <UnknownInstance>false</UnknownInstance>
         <UPId>autofill</UPId>
         <Title>Judge Judy</Title>
         <Copy>Ownership of a dog is disputed.</Copy>
         <AiringTime>2011-03-01T23:00:00Z</AiringTime>
         <Duration>30</Duration>
         <Color>Color</Color>
         <AiringType>New</AiringType>
         <ShowingType>Unknown</ShowingType>
         <CC>true</CC>
         <LetterBox>false</LetterBox>
         <Stereo>true</Stereo>
         <HD>false</HD>
         <SAP>false</SAP>
         <TVRating>TV-G</TVRating>
         <Dolby>false</Dolby>
         <DSS>false</DSS>
         <HDLevel>HD Level Unknown</HDLevel>
         <Sports>false</Sports>
         <DVS>false</DVS>
         <Category>Other</Category>
         <Subcategory>reality</Subcategory>
         <SourceId>696</SourceId>
         <Channel>2</Channel>
         <CallLetters>KCBS</CallLetters>
         <SourceDisplayName>KCBS</SourceDisplayName>
         <SourceLongName>KCBS</SourceLongName>
         <TiVoSupported>true</TiVoSupported>
         <ParentNetworkId>2</ParentNetworkId>
         <IconAvailable>true</IconAvailable>
         <ServiceId>360861</ServiceId>
         <DvbTriplet/>
         <ProgramImage ImageUrl="http://actual-url-concealed.jpg" ImageFormatId="37"/>
         <SL>false</SL>
         <Subtitles>false</Subtitles>
      </ListingsAiring>
      <ListingsAiring>
         <ProgramId>19067344</ProgramId>
         <SeriesId>3513</SeriesId>
         <InstanceId xsi:nil="true"/>
         <UnknownInstance>false</UnknownInstance>
         <UPId>autofill</UPId>
         <Title>Oprah Winfrey</Title>
         <EpisodeTitle>
         Willow Smith 'Whips Her Hair' and Oprah's All-Time Smartest, Most Talented Kids
         </EpisodeTitle>
         <Copy>
         Willow Smith performs "Whip My Hair" and her new single, "21st Century Girl" on a show featuring talented youngsters. Also: Lenny Kravitz and a teen guitarist; Also: "Live to Dance" winners D'Angelo Castro and Amanda Carbajales; YouTube star Maya Sadler.
         </Copy>
         <AiringTime>2011-03-01T23:00:00Z</AiringTime>
         <Duration>60</Duration>
         <Color>Color</Color>
         <AiringType>New</AiringType>
         <ShowingType>Unknown</ShowingType>
         <CC>true</CC>
         <LetterBox>false</LetterBox>
         <Stereo>true</Stereo>
         <HD>false</HD>
         <SAP>false</SAP>
         <TVRating>TV-PG</TVRating>
         <Dolby>false</Dolby>
         <DSS>false</DSS>
         <HDLevel>HD Level Unknown</HDLevel>
         <Sports>false</Sports>
         <DVS>false</DVS>
         <Category>Other</Category>
         <Subcategory>talk</Subcategory>
         <SourceId>5</SourceId>
         <Channel>7</Channel>
         <CallLetters>KABC</CallLetters>
         <SourceDisplayName>KABC</SourceDisplayName>
         <SourceLongName>KABC</SourceLongName>
         <TiVoSupported>true</TiVoSupported>
         <ParentNetworkId>1</ParentNetworkId>
         <IconAvailable>true</IconAvailable>
         <ServiceId>360861</ServiceId>
         <DvbTriplet/>
         <ProgramImage/>
         <SL>false</SL>
         <Subtitles>false</Subtitles>
      </ListingsAiring>
         <ListingsAiring>
         <ProgramId>5794639</ProgramId>
         <InstanceId xsi:nil="true"/>
         <UnknownInstance>false</UnknownInstance>
         <UPId>rivins</UPId>
         <Title>Dragon Sword</Title>
         <Copy>
         A weary knight (James Purefoy) embarks on a search for a missing princess in England.
         </Copy>
         <AiringTime>2011-03-01T22:00:00Z</AiringTime>
         <Duration>120</Duration>
         <Color>Color</Color>
         <AiringType>Unknown</AiringType>
         <ShowingType>Unknown</ShowingType>
         <CC>true</CC>
         <LetterBox>false</LetterBox>
         <Stereo>false</Stereo>
         <HD>false</HD>
         <SAP>false</SAP>
         <TVRating>TV-PG@V</TVRating>
         <MovieRating>NR</MovieRating>
         <Dolby>false</Dolby>
         <DSS>false</DSS>
         <HDLevel>HD Level Unknown</HDLevel>
         <Sports>false</Sports>
         <DVS>false</DVS>
         <Category>Movie</Category>
         <Subcategory>fantasy</Subcategory>
         <SourceId>9196</SourceId>
         <Channel>59</Channel>
         <CallLetters>Syfy</CallLetters>
         <SourceDisplayName>SYFY-W</SourceDisplayName>
         <SourceLongName>Syfy (West)</SourceLongName>
         <TiVoSupported>true</TiVoSupported>
         <ParentNetworkId>37</ParentNetworkId>
         <IconAvailable>true</IconAvailable>
         <ServiceId>360861</ServiceId>
         <DvbTriplet/>
         <ProgramImage/>
         <SL>false</SL>
         <Subtitles>false</Subtitles>
      </ListingsAiring>
   </Airings>
</Schedule>

JSON Response Example

JSON responses are available from our REST TV Listings service.
      "Schedule":{
         "Locale":"en-US",
         "ServiceId":"360861",
         "Name":"Beverly Hills - Time Warner",
         "ServiceType":"Cable",
         "StartDate":"2011-03-01T23:00:00Z",
         "Duration":"30",
         "TimeZones":[
            {
               "StartDateTime":"2010-11-07T09:00:00Z",
               "EndDateTime":"2011-03-13T10:00:00Z",
               "Offset":"-480"
            }
         ],
         "Airings":[
               {
                  "ProgramId":"19131002",
                  "SeriesId":"21985",
                  "InstanceId":"",
                  "UnknownInstance":"false",
                  "UPId":"autofill",
                  "Title":"Judge Judy",
                  "Copy":"Ownership of a dog is disputed.",
                  "AiringTime":"2011-03-01T23:00:00Z",
                  "Duration":"30",
                  "Color":"Color",
                  "AiringType":"New",
                  "ShowingType":"Unknown",
                  "CC":"true",
                  "LetterBox":"false",
                  "Stereo":"true",
                  "HD":"false",
                  "SAP":"false",
                  "TVRating":"TV-G",
                  "Dolby":"false",
                  "DSS":"false",
                  "HDLevel":"HD Level Unknown",
                  "Sports":"false",
                  "DVS":"false",
                  "Category":"Other",
                  "Subcategory":"reality",
                  "SourceId":"696",
                  "Channel":"2",
                  "CallLetters":"KCBS",
                  "SourceDisplayName":"KCBS",
                  "SourceLongName":"KCBS",
                  "TiVoSupported":"true",
                  "ParentNetworkId":"2",
                  "IconAvailable":"true",
                  "ServiceId":"360861",
                  "SL": "false",
                  "Subtitles": "false"
               },
               {
                  "ProgramId":"19067344",
                  "SeriesId":"3513",
                  "InstanceId":"",
                  "UnknownInstance":"false",
                  "UPId":"autofill",
                  "Title":"Oprah Winfrey",
                  "EpisodeTitle":"Willow Smith 'Whips Her Hair' and Oprah's All-Time Smartest, Most Talented Kids",
                  "Copy":"Willow Smith performs \"Whip My Hair\" and her new single, \"21st Century Girl\" on a show featuring talented youngsters. Also: Lenny Kravitz and a teen guitarist; Also: \"Live to Dance\" winners D'Angelo Castro and Amanda Carbajales; YouTube star Maya Sadler.",
                  "AiringTime":"2011-03-01T23:00:00Z",
                  "Duration":"60",
                  "Color":"Color",
                  "AiringType":"New",
                  "ShowingType":"Unknown",
                  "CC":"true",
                  "LetterBox":"false",
                  "Stereo":"true",
                  "HD":"false",
                  "SAP":"false",
                  "TVRating":"TV-PG",
                  "Dolby":"false",
                  "DSS":"false",
                  "HDLevel":"HD Level Unknown",
                  "Sports":"false",
                  "DVS":"false",
                  "Category":"Other",
                  "Subcategory":"talk",
                  "SourceId":"5",
                  "Channel":"7",
                  "CallLetters":"KABC",
                  "SourceDisplayName":"KABC",
                  "SourceLongName":"KABC",
                  "TiVoSupported":"true",
                  "ParentNetworkId":"1",
                  "IconAvailable":"true",
                  "ServiceId":"360861",
                  "SL": "false",
                  "Subtitles": "false"
               },
               {
                  "ProgramId":"5794639",
                  "InstanceId":"",
                  "UnknownInstance":"false",
                  "UPId":"rivins",
                  "Title":"Dragon Sword",
                  "Copy":"A weary knight (James Purefoy) embarks on a search for a missing princess in England.",
                  "AiringTime":"2011-03-01T22:00:00Z",
                  "Duration":"120",
                  "Color":"Color",
                  "AiringType":"Unknown",
                  "ShowingType":"Unknown",
                  "CC":"true",
                  "LetterBox":"false",
                  "Stereo":"false",
                  "HD":"false",
                  "SAP":"false",
                  "TVRating":"TV-PG@V",
                  "MovieRating":"NR",
                  "Dolby":"false",
                  "DSS":"false",
                  "HDLevel":"HD Level Unknown",
                  "Sports":"false",
                  "DVS":"false",
                  "Category":"Movie",
                  "Subcategory":"fantasy",
                  "SourceId":"9196",
                  "Channel":"59",
                  "CallLetters":"Syfy",
                  "SourceDisplayName":"SYFY-W",
                  "SourceLongName":"Syfy (West)",
                  "TiVoSupported":"true",
                  "ParentNetworkId":"37",
                  "IconAvailable":"true",
                  "ServiceId":"360861",
                  "SL": "false",
                  "Subtitles": "false"
               }
            ]
         }
      }
 
 
 
Personal tools