Skip to content

Commit

Permalink
Merge pull request #626 from cwendt94/football_team_move_to_ir
Browse files Browse the repository at this point in the history
Football Add Move to IR in Team Class
  • Loading branch information
cwendt94 authored Jan 2, 2025
2 parents 921c1c9 + 4ccdc48 commit 4872dc8
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 4872dc8

Please sign in to comment.