Tournaments#

Entities that are used to describe tournaments on WotBlitz.

class onewot.tournaments.CurrencyType(value)[source]#

Interface of tournament currency type information.

Value can be gold, credits or free experience.

class onewot.tournaments.Tournament(id: snowflakes.Snowflake, description: str, end_at: unix.UnixTime, matches_start_at: unix.UnixTime, registration_end_at: unix.UnixTime, registration_start_at: unix.UnixTime, start_at: unix.UnixTime, status: TournamentStatus, title: str, award: TournamentAward, fee: TournamentFee, logo: TournamentLogo, winner_award: TournamentWinnerAward)[source]#

Interface of tournament information.

class onewot.tournaments.TournamentAward(amount: int, currency: CurrencyType)[source]#

Interface of tournament award information.

class onewot.tournaments.TournamentEconomy(amount: int, currency: CurrencyType)[source]#

Interface of tournament economy information.

class onewot.tournaments.TournamentFee(amount: int, currency: CurrencyType)[source]#

Interface of tournament fee information.

Interface of tournament logo information.

class onewot.tournaments.TournamentStatus(value)[source]#

Interface of tournament status information.

Value can be upcoming, finished, running or registration started.

class onewot.tournaments.TournamentWinnerAward(amount: int, currency: CurrencyType)[source]#

Interface of tournament winner award information.