Skip to content

Team Class

Christian Wendt edited this page Nov 8, 2024 · 10 revisions

Documentation of all variables for Team Class

Variables

Check out Player Class!

team_id: int
team_abbrev: str
team_name: str
division_id: str
division_name: str
wins: int
losses: int
ties: int
points_for: int # total points for through out the season
points_against: int # total points against through out the season
waiver_rank: int # waiver position
acquisitions: int # number of acquisitions made by the team
acquisition_budget_spent: int # budget spent on acquisitions 
drops: int # number of drops made by the team
trades: int # number of trades made by the team 
owners: List[dict] # array of owner dict example: { id: '1234', displayName: 'team', firstName: 'Bob', lastName: 'Joe'} 
# Note for owners name attributes will only be available for private leagues. Public leagues will not show name data.
stats: dict # holds teams season long stats
streak_type: str # string of either WIN or LOSS
streak_length: int # how long the streak is for streak type
standing: int # standing before playoffs
final_standing: int # final standing at end of season
draft_projected_rank: int # projected rank after draft
playoff_pct: int # teams projected chance to make playoffs
logo_url: str
roster: List[Player]

# These 3 variables will have the same index and match on those indexes
schedule: List[Team]
scores: List[int]
outcomes: List[str]