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..)

certification = None
Type:str

Content certification (e.g PG-13)

genres = None
Type:list

Genres

get_key(service)
homepage = None
Type:str

Homepage URL

language = None
Type:str

Language (for title, overview, etc..)

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>) or None if no primary key is available
Return type:tuple
released = None
Type:date

Release date

runtime = None
Type:int

Duration (in minutes)

tagline = None
Type:str

Tagline

title = None
Type:str

Title

to_dict()

Dump movie to a dictionary.

Returns:Movie dictionary
Return type:dict
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.

trailer = None
Type:str

Trailer URL

updated_at = None
Type:datetime

Updated date/time

user_count = None
Type:int

Number of user recommendations (returned by the Trakt['movies'].recommended() and Trakt['shows'].recommended() methods)

watchers = None
Type:int

Number of active watchers (returned by the Trakt['movies'].trending() and Trakt['shows'].trending() methods)

year = None
Type:int

Year