diff --git a/espn_api/football/team.py b/espn_api/football/team.py index faee715d..53a9e085 100644 --- a/espn_api/football/team.py +++ b/espn_api/football/team.py @@ -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']