pytenno.models.users
- class pytenno.models.users.BaseUser(id: str, ingame_name: str, region: str, avatar: Optional[str] = None)[source]
Base class that other user classes inherit from.
- class pytenno.models.users.CurrentUser(id: str, ingame_name: str, region: str, avatar: Optional[str] = None, *, anonymous: bool, verification: bool, check_code: str, role: UserRole, platform: Platform, banned: bool, ban_reason: Optional[str] = None, background: Optional[str] = None, has_mail: bool, reputation: int, linked_accounts: LinkedProfiles, patreon_profile: PatreonProfile, written_reviews: int, unread_messages: int)[source]
Represents the current user. This is the user that is logged in.
- background: str | None = None
The URL of the user’s background. If None, the user has no background.
- linked_accounts: LinkedProfiles
The linked accounts of the user.
- patreon_profile: PatreonProfile
The Patreon profile of the user.
- class pytenno.models.users.LinkedProfiles(discord_profile: bool, patreon_profile: bool, xbox_profile: bool, steam_profile: bool)[source]
Represents a user’s linked profiles.
- discord_profile: bool
Whether the user has a Discord profile linked to their warframe.market profile.
- class pytenno.models.users.PatreonProfile(patreon_founder: bool, subscription: bool, patreon_badge: Optional[PatreonBadge] = None)[source]
Represents a Patreon profile.
- patreon_badge: pytenno.models.enums.PatreonBadge | None = None
The Patreon badge of the user, if any.
- class pytenno.models.users.UserShort(id: str, ingame_name: str, region: str, avatar: Optional[str] = None, *, status: UserStatus, reputation: int, last_seen: datetime.datetime | None)[source]
Represents a user.
- last_seen: datetime.datetime | None
The last time the user was seen. If None, the user has not been seen.
- status: UserStatus
The status of the user.