Skip to content

Commit

Permalink
Basketball Team PF and PA
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed Jan 2, 2025
1 parent 216fef4 commit 138fa9b
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 @@ -15,6 +15,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 138fa9b

Please sign in to comment.