Season
¶
-
class
trakt.objects.season.
Season
(client, keys=None, index=None)¶ Bases:
trakt.objects.media.Media
-
episodes
= None¶ Type: dict
Episodes, defined as
{episode_num: Episode}
Note: this field might not be available with some methods
-
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>)
orNone
if no primary key is availableReturn type: tuple
-
show
= None¶ Type: trakt.objects.show.Show
Show
-
to_identifier
()¶ Return the season identifier which is compatible with requests that require season definitions.
Returns: Season identifier/definition Return type: dict
-
to_info
()¶ Dump season to a dictionary.
Deprecated: use the
to_dict()
method instead.
-