Show

class trakt.objects.show.Show(client, keys, index=None)

Bases: trakt.objects.media.Media

aired_episodes = None
Type:int

Aired episode count

airs = None
Type:dict

Dictionary with day, time and timezone in which the show airs

available_translations = None
Type:list

Available translations (for title, overview, etc..)

certification = None
Type:str

Content certification (e.g TV-MA)

country = None
Type:str

Country in which the show is aired

episodes()

Return a flat episode iterator.

Returns:Iterator ((season_num, episode_num), Episode)
Return type:iterator
first_aired = None
Type:datetime

First air date

genres = None
Type:list

Genres

get_key(service)
homepage = None
Type:str

Homepage URL

language = None
Type:str

Language (for title, overview, etc..)

network = None
Type:str

Network in which the show is aired

pk

Retrieve the primary key (unique identifier for the item).

Provides the following identifiers (by media type):
  • movie: imdb
  • show: tvdb
  • season: tvdb
  • episode: tvdb
  • custom_list: trakt
  • person: tmdb
Returns:(<service>, <value>) or None if no primary key is available
Return type:tuple
runtime = None
Type:int

Duration (in minutes)

seasons = None
Type:dict

Seasons, defined as {season_num: Season}

Note: this field might not be available with some methods

status = None
Type:str

Value of returning series (airing right now), in production (airing soon), planned (in development), canceled, or ended

title = None
Type:str

Title

to_dict()

Dump show to a dictionary.

Returns:Show dictionary
Return type:dict
to_identifier()

Return the show identifier which is compatible with requests that require show definitions.

Returns:Show identifier/definition
Return type:dict
to_info()

Dump show to a dictionary.

Deprecated: use the to_dict() method instead.

updated_at = None
Type:datetime

Updated date/time

user_count = None
Type:int

Number of user recommendations (returned by the Trakt['movies'].recommended() and Trakt['shows'].recommended() methods)

watchers = None
Type:int

Number of active watchers (returned by the Trakt['movies'].trending() and Trakt['shows'].trending() methods)

year = None
Type:int

Year