Skip to content

Player Class

Christian Wendt edited this page Sep 16, 2022 · 11 revisions

Documentation of all variables for Player Class

Variables

name: str
playerId: int
posRank: int # players positional rank
eligibleSlots: List[str] # example ['WR', 'WR/TE/RB']
acquisitionType: str
proTeam: str # 'PIT' or 'LAR'
position: str # main position like 'TE' or 'QB'
injuryStatus: str
injured: boolean
total_points: int # players total points during the season
projected_total_points: int # projected player points for the season
percent_owned: int # percentage player is rostered
percent_started: int # percentage player is started
stats: dict # holds each week stats, actual and projected points. 
# week 1 example {1: {'breakdown': {'receivingReceptions': 1.7, 'rushingYards': 7.9}, 'points': 14.57, 'projected_points': 24.64, 'projected_breakdown': {'receivingReceptions': 6.354896833, 'rushingYards': 7.890957077}}}