Get NBA Stats API League Leaders
Get NBA Stats API League Leaders
nba_leagueleaders(
active_flag = "",
league_id = "00",
per_mode = "Totals",
scope = "S",
season = "2020-21",
season_type = "Regular Season",
stat_category = "PTS"
)Active Flag
League - default: '00'. Other options include '10': WNBA, '20': G-League
Per Mode - Totals, PerGame, Per48
Scope - RS, S, Rookies
Season - format 2020-21
Season Type - Regular Season, Playoffs
Stat Category: PTS, REB, AST, FG_PCT, FT_PCT, FG3_PCT, STL, BLK
Returns a named list of data frames: LeagueLeaders