Skip to content

Commit

Permalink
Merge pull request #359 from dtcarls/master
Browse files Browse the repository at this point in the history
add faab to league settings
  • Loading branch information
cwendt94 authored Sep 16, 2022
2 parents 01782d7 + 6da4b38 commit 3bffd8b
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 @@ -14,6 +14,7 @@ def __init__(self, data):
self.name = data['name']
self.tie_rule = data['scoringSettings']['matchupTieRule']
self.playoff_seed_tie_rule = data['scoringSettings']['playoffMatchupTieRule']
self.faab = data['acquisitionSettings']['isUsingAcquisitionBudget']
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 3bffd8b

Please sign in to comment.