Skip to content

Commit

Permalink
Football Add Move to IR in Team Class
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed Jan 2, 2025
1 parent fe360ad commit 4ccdc48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions espn_api/football/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self, data, roster, schedule, year, **kwargs):
self.acquisition_budget_spent = data.get('transactionCounter', {}).get('acquisitionBudgetSpent', 0)
self.drops = data.get('transactionCounter', {}).get('drops', 0)
self.trades = data.get('transactionCounter', {}).get('trades', 0)
self.move_to_ir = data.get('transactionCounter', {}).get('moveToIR', 0)
self.playoff_pct = data.get('currentSimulationResults', {}).get('playoffPct', 0) * 100
self.draft_projected_rank = data.get('draftDayProjectedRank', 0)
self.streak_length = data['record']['overall']['streakLength']
Expand Down

0 comments on commit 4ccdc48

Please sign in to comment.