Movie
¶
-
class
trakt.objects.movie.
Movie
(client, keys, index=None)¶ Bases:
trakt.objects.video.Video
-
available_translations
= None¶ Type: list
Available translations (for title, overview, etc..)
-
genres
= None¶ Type: list
Genres
-
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
-
to_identifier
()¶ Return the movie identifier which is compatible with requests that require movie definitions.
Returns: Movie identifier/definition Return type: dict
-
to_info
()¶ Dump movie to a dictionary.
Deprecated: use the
to_dict()
method instead.
-
user_count
= None¶ Type: int
Number of user recommendations (returned by the
Trakt['movies'].recommended()
andTrakt['shows'].recommended()
methods)
-