Episode¶
-
class
trakt.objects.episode.Episode(client, keys=None, index=None)¶ Bases:
trakt.objects.video.Video-
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
-
season= None¶ Type: trakt.objects.season.SeasonSeason
-
show= None¶ Type: trakt.objects.show.ShowShow
-
to_identifier()¶ Retrieve the episode identifier.
Returns: Episode identifier/definition Return type: dict
-
to_info()¶ Dump episode to a dictionary.
Deprecated: use the
to_dict()method instead.
-