Person

class trakt.objects.person.Person(client, keys=None, index=None)

Bases: object

index = None
Type:int

Playlist item index

keys = None
Type:list of tuple

Keys (for imdb, tvdb, etc..), defined as:

..code-block:

[
    (<service>, <id>)
]
listed_at = None
Type:datetime

Timestamp of when this item was added to the list (or None)

name = None
Type:str

Name

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