falcon_alliance.EventTeamStatus

class falcon_alliance.EventTeamStatus(event_or_team_key: str, team_status_info: dict)

Class representing a team’s status during an event.

qual

Information about the team’s rank during qualifications. May be None if qualifications haven’t begun yet.

Type

falcon_alliance.EventTeamStatus.Qualifications, optional

alliance

Information about the alliance a team is on, if they are on one. May be None if the team didn’t make it onto an alliance.

Type

falcon_alliance.EventTeamStatus.Alliance, optional

playoff

Playoff status for this team, may be None if the team did not make playoffs, or playoffs have not begun.

Type

falcon_alliance.EventTeamStatus.Playoff, optional

alliance_status_str

An HTML formatted string suitable for display to the user containing the team’s alliance pick status.

Type

str, optional

playoff_status_str

An HTML formatter string suitable for display to the user containing the team’s playoff status.

Type

str, optional

overall_status_str

An HTML formatted string suitable for display to the user containing the team’s overall status summary of the event.

Type

str, optional

next_match_key

TBA match key for the next match the team is scheduled to play in at this event, or None.

Type

str, optional

last_match_key

TBA match key for the last match the team played in at this event, or None.

Type

str, optional

class Alliance(backup: Optional[dict], name: str, number: int, pick: int)

Class representing the alliance said team was on during an event.

class Playoff(current_level_record: Record, level: str, playoff_average: Optional[int], record: Record, status: Status)

Class representing the team’s performance during playoffs.

class Qualifications(num_teams: int, ranking: Ranking, status: Status)

Class representing the team’s performance during qualifications.

class Ranking(dq: int, matches_played: int, qual_average: Optional[float], rank: int, record: Record, sort_orders: SortOrders, team_key: str)

Class representing a team’s ranking information during qualifications of an event.

class Record(losses: int, ties: int, wins: int)

Class representing a record of wins, losses and ties for qualification matches, playoffs, and more.

class SortOrders(sort_orders: list, sort_order_info: List[dict])

Information about the team used to determine ranking for an event.

class Status(value)

Enum class representing the status of the team during an event.

WON

Representing if a team won a certain level.

Type

int

ELIMINATED

Representing if a team was eliminated at a certain level.

Type

int

PLAYING

Representing if a team is currently playing at that level.

Type

int