Skip to content

Player Class Basketball

Christian Wendt edited this page Oct 26, 2023 · 6 revisions

Documentation of all variables for Player Class

Variables

name: str
playerId: int
eligibleSlots = List[str]
posRank: int # players positional rank
acquisitionType: str
proTeam: str
position: str
injuryStatus: str
injured: boolean
stats: dict # example {'2': {'team': 'NYK', 'date': datetime.datetime(2019, 4, 11, 0, 0), 'total': {'PTS': 20.0, 'BLK': 0.0, 'AST': 3.0}}}
schedule: dict # key is scoring period, example: {'2': {'team': 'BKN', 'date': datetime.datetime(2018, 10, 17, 23, 0)}}
lineupSlot: str # SG, C, PG, SF, IR
total_points: int # players total points during the season
avg_points: int # players average points during the season
projected_total_points: int # projected player points for the season
projected_avg_points: int # projected players average points for the season