diff --git a/espn_api/football/player.py b/espn_api/football/player.py index 3d94d70b..fb7c08f8 100644 --- a/espn_api/football/player.py +++ b/espn_api/football/player.py @@ -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