Skip to content

Commit

Permalink
All - Settings Acquisition Budget
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed Jan 3, 2025
1 parent fe360ad commit 675c74a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions espn_api/base_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 675c74a

Please sign in to comment.