Skip to content

Commit

Permalink
Merge pull request #553 from cwendt94/football_slot_posiiton_player
Browse files Browse the repository at this point in the history
Football Base Player add Lineup Slot
  • Loading branch information
cwendt94 authored Aug 15, 2024
2 parents 98d6338 + 7caa1be commit 36fa41b
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 36fa41b

Please sign in to comment.