Get NBA Stats API Player Fantasy Profile Bar Graph

Get NBA Stats API Player Fantasy Profile Bar Graph

nba_playerfantasyprofilebargraph(
  league_id = "00",
  player_id = "2544",
  season = "2020-21",
  season_type = "Regular Season"
)

Arguments

league_id

League - default: '00'. Other options include '10': WNBA, '20': G-League

player_id

Player ID

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs, All-Star

Value

Return a named list of data frames: LastFiveGamesAvg, SeasonAvg

Author

Saiem Gilani