From d3603be3a57c7215756885bcef1266113e836103 Mon Sep 17 00:00:00 2001 From: Christian Wendt Date: Mon, 23 Oct 2023 15:53:58 +0000 Subject: [PATCH] Basketball Add Pos Rank to Player Class --- espn_api/basketball/player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/espn_api/basketball/player.py b/espn_api/basketball/player.py index 8ad71a32..25c4cc8c 100644 --- a/espn_api/basketball/player.py +++ b/espn_api/basketball/player.py @@ -15,6 +15,7 @@ def __init__(self, data, year, pro_team_schedule = None): self.acquisitionType = json_parsing(data, 'acquisitionType') self.proTeam = PRO_TEAM_MAP[json_parsing(data, 'proTeamId')] self.injuryStatus = json_parsing(data, 'injuryStatus') + self.posRank = json_parsing(data, 'positionalRanking') self.stats = {} self.schedule = {}