Trophy

class praw.models.Trophy(reddit, _data)

Represent a trophy.

End users should not instantiate this class directly. Redditor.trophies() can be used to get a list of the redditor’s trophies.

Typical Attributes

This table describes attributes that typically belong to objects of this class. Since attributes are dynamically provided (see Determine Available Attributes of an Object), there is not a guarantee that these attributes will always be present, nor is this list necessarily comprehensive.

Attribute Description
award_id The ID of the trophy (sometimes None).
description The description of the trophy (sometimes None).
icon_40 The URL of a 41x41 px icon for the trophy.
icon_70 The URL of a 71x71 px icon for the trophy.
name The name of the trophy.
url A relevant URL (sometimes None).
__str__()

Return a name of the trophy.