falcon_alliance.District
- class falcon_alliance.District(*args, **kwargs)
Class representing a district containing methods to get specific district information.
- class Ranking(team_key: str, rank: int, rookie_bonus: int, other_bonus: int | None = None, point_total: int = 0, event_points: List[dict] | None = None)
Class representing a team’s ranking in a given district.
- events(simple: bool = False, keys: bool = False) List[str | Event]
Retrieves a list of events in the given district.
- Parameters:
- Returns:
A list of strings with each string representing an event’s key for all the events in the given district or a list of Event objects with each object representing an event in the given district.
- Return type:
- rankings() List[Ranking]
Retrieves a list of team district rankings for the given district.
- Returns:
A list of Ranking objects with each Ranking object representing a team’s district ranking for the given district.
- Return type:
- teams(simple: bool = False, keys: bool = False) List[str | Team]
Retrieves a list of teams in the given district.
- Parameters:
- Returns:
A list of strings with each string representing a team’s key for all the teams in the given district or a list of Team objects with each object representing a team in the given district.
- Return type: