Movie¶
-
class
trakt.objects.movie.Movie(client, keys, index=None)¶ Bases:
trakt.objects.video.Video-
available_translations= None¶ Type: listAvailable translations (for title, overview, etc..)
-
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
-
to_identifier()¶ Return the movie identifier which is compatible with requests that require movie definitions.
Returns: Movie identifier/definition Return type: dict
-
to_info(*args, **kwargs)¶ Dump movie 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)
-