Skip to content

Commit

Permalink
Football Base Player as Lineup Slot
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed Aug 15, 2024
1 parent 98d6338 commit 7caa1be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions espn_api/football/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def __init__(self, data, year):
self.proTeam = PRO_TEAM_MAP[json_parsing(data, 'proTeamId')]
self.injuryStatus = json_parsing(data, 'injuryStatus')
self.onTeamId = json_parsing(data, 'onTeamId')
self.lineupSlot = POSITION_MAP.get(data.get('lineupSlotId'), '')
self.stats = {}

# Get players main position
Expand Down

0 comments on commit 7caa1be

Please sign in to comment.