Users#

Entities that are used to describe users on WotBlitz.

class onewot.users.BaseUser(id: snowflakes.Snowflake)[source]#

Basic interface of user information.

class onewot.users.ClanMember(id: snowflakes.Snowflake, clan_id: snowflakes.Snowflake, joined_at: unix.UnixTime, role: MemberClanRole, clan: clans.BaseClan)[source]#

Interface of clan member information.

class onewot.users.MemberClanRole(value)[source]#

Member clan roles interface.

Value can be executive officer, private or commander.

class onewot.users.User(id: snowflakes.Snowflake, nickname: str, created_at: unix.UnixTime, last_battle_time: Optional[unix.UnixTime], updated_at: unix.UnixTime, spotted: int, max_frags_tank_id: int, hits: int, frags: int, max_xp: int, max_xp_tank_id: int, wins: int, losses: int, capture_points: int, battles: int, damage_dealt: int, damage_received: int, max_frags: int, shots: int, frags8p: int, xp: int, win_and_survived: int, survived_battles: int, dropped_capture_points: int, win_percent: float, achievements: Type[object], rating: UserRating, private: Optional[UserPrivate])[source]#

Interface of user information.

class onewot.users.UserPrivate(ban_info: str, ban_time: unix.UnixTime, chat_ban_time: unix.UnixTime, battle_life_time: int, credits: int, free_xp: int, gold: int, is_premium: bool, premium_expires_at: unix.UnixTime)[source]#

Interface of user private information.

class onewot.users.UserRating(battles: int, calibration_battles_left: int, capture_points: int, current_season: int, damage_dealt: int, damage_received: int, dropped_capture_points: int, frags: int, frags8p: int, hits: int, is_recalibration: bool, losses: int, mm_rating: float, recalibration_start_time: unix.UnixTime, shots: int, spotted: int, survived_battles: int, win_and_survived: int, wins: int, xp: int)[source]#

Interface of user rating information.