Comment

class trakt.objects.comment.Comment(client, keys)

Bases: object

comment = None
Type:str

Comment body

created_at = None
Type:datetime

Timestamp of when this comment was created

id

Retrieve the comment identifier.

Return type:int
keys = None
Type:list of tuple

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

..code-block:

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

Timestamp of when this comment was liked

likes = None
Type:int

Number of likes

parent_id = None
Type:int

Parent comment id

pk

Retrieve the primary key (unique identifier for the comment).

Returns:("trakt", <id>) or None if no primary key is available
Return type:tuple
replies = None
Type:int

Number of replies

review = None
Type:bool

Flag indicating this comment is a review

spoiler = None
Type:bool

Flag indicating this comment has a spoiler

user = None
Type:dict

Author details

user_rating = None
Type:float

Author rating for the item