Skip to content

Commit

Permalink
Merge pull request #473 from cwendt94/settings-add-more-playoff-info
Browse files Browse the repository at this point in the history
Settings Add Playoff matchup period length
  • Loading branch information
cwendt94 authored Oct 2, 2023
2 parents 59ea511 + f56e0e9 commit eada007
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_tie_rule = data['scoringSettings']['playoffMatchupTieRule']
self.playoff_matchup_period_length = data.get('scheduleSettings', {}).get('playoffMatchupPeriodLength', 0)
self.playoff_seed_tie_rule = data['scheduleSettings']['playoffSeedingRule']
self.scoring_type = data.get('scoringSettings', {}).get('scoringType')
self.faab = data['acquisitionSettings']['isUsingAcquisitionBudget']
Expand Down

0 comments on commit eada007

Please sign in to comment.