Skip to content

Commit

Permalink
Merge pull request #624 from cwendt94/basketball_team_pa_pf
Browse files Browse the repository at this point in the history
Basketball Team PF and PA
  • Loading branch information
cwendt94 authored Jan 2, 2025
2 parents fe360ad + 767a95f commit 921c1c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions espn_api/basketball/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def __init__(self, data, roster, schedule, year, **kwargs):
self.wins = data['record']['overall']['wins']
self.losses = data['record']['overall']['losses']
self.ties = data['record']['overall']['ties']
self.points_for = data['record']['overall']['pointsFor']
self.points_against = round(data['record']['overall']['pointsAgainst'], 2)
self.acquisitions = data.get('transactionCounter', {}).get('acquisitions', 0)
self.acquisition_budget_spent = data.get('transactionCounter', {}).get('acquisitionBudgetSpent', 0)
self.drops = data.get('transactionCounter', {}).get('drops', 0)
Expand Down

0 comments on commit 921c1c9

Please sign in to comment.