Show¶
-
class
trakt.objects.show.Show(client, keys, index=None)¶ Bases:
trakt.objects.media.Media-
available_translations= None¶ Type: listAvailable translations (for title, overview, etc..)
-
episodes()¶ Return a flat episode iterator.
Returns: Iterator ((season_num, episode_num), Episode)Return type: iterator
-
genres= None¶ Type: listGenres
-
get_key(service)¶
-
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>)orNoneif no primary key is availableReturn type: tuple
-
seasons= None¶ Type: dictSeasons, defined as
{season_num: Season}Note: this field might not be available with some methods
-
status= None¶ Type: strValue of
returning series(airing right now),in production(airing soon),planned(in development),canceled, orended
-
to_identifier()¶ Return the show identifier which is compatible with requests that require show definitions.
Returns: Show identifier/definition Return type: dict
-
to_info(*args, **kwargs)¶ Dump show to a dictionary.
Deprecated: use the
to_dict()method instead.
-
user_count= None¶ Type: intNumber of user recommendations (returned by the
Trakt['movies'].recommended()andTrakt['shows'].recommended()methods)
-