From 4ccdc48ed2af9649478cdc2b8354f1fb127d24c6 Mon Sep 17 00:00:00 2001 From: Christian Wendt Date: Thu, 2 Jan 2025 18:26:09 +0000 Subject: [PATCH] Football Add Move to IR in Team Class --- espn_api/football/team.py | 1 + 1 file changed, 1 insertion(+) 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']