From 675c74a8c686c71c2101ba9ba17f6cffedc8f5b8 Mon Sep 17 00:00:00 2001 From: Christian Wendt Date: Fri, 3 Jan 2025 17:08:54 +0000 Subject: [PATCH] All - Settings Acquisition Budget --- espn_api/base_settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/espn_api/base_settings.py b/espn_api/base_settings.py index 915982bb..4947941a 100644 --- a/espn_api/base_settings.py +++ b/espn_api/base_settings.py @@ -18,6 +18,7 @@ def __init__(self, data): self.playoff_seed_tie_rule = data['scheduleSettings']['playoffSeedingRule'] self.scoring_type = data.get('scoringSettings', {}).get('scoringType') self.faab = data['acquisitionSettings']['isUsingAcquisitionBudget'] + self.acquisition_budget = data.get('acquisitionSettings', {}).get('acquisitionBudget', 0) divisions = data.get('scheduleSettings', {}).get('divisions', []) for division in divisions: self.division_map[division.get('id', 0)] = division.get('name')