Skip to contents

Get NBA Stats API Player Profile V2

Get NBA Stats API Player Profile V2

Usage

nba_playerprofilev2(
  league_id = "",
  per_mode = "Totals",
  player_id = "2544",
  ...
)

Arguments

league_id

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

per_mode

Season - format 2020-21

player_id

Player ID

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: CareerHighs, CareerTotalsAllStarSeason, CareerTotalsCollegeSeason, CareerTotalsPostSeason, CareerTotalsPreseason, CareerTotalsRegularSeason, NextGame, SeasonHighs, SeasonRankingsPostSeason, SeasonRankingsRegularSeason, SeasonTotalsAllStarSeason, SeasonTotalsCollegeSeason, SeasonTotalsPostSeason, SeasonTotalsPreseason, SeasonTotalsRegularSeason

SeasonTotalsRegularSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

CareerTotalsRegularSeason

col_nametypes
PLAYER_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

SeasonTotalsPostSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

CareerTotalsPostSeason

col_nametypes
PLAYER_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

SeasonTotalsAllStarSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

CareerTotalsAllStarSeason

col_nametypes
PLAYER_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

SeasonTotalsCollegeSeason

CareerTotalsCollegeSeason

SeasonTotalsPreseason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

CareerTotalsPreseason

col_nametypes
PLAYER_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
GPcharacter
GScharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

SeasonRankingsRegularSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
RANK_MINcharacter
RANK_FGMcharacter
RANK_FGAcharacter
RANK_FG_PCTcharacter
RANK_FG3Mcharacter
RANK_FG3Acharacter
RANK_FG3_PCTcharacter
RANK_FTMcharacter
RANK_FTAcharacter
RANK_FT_PCTcharacter
RANK_OREBcharacter
RANK_DREBcharacter
RANK_REBcharacter
RANK_ASTcharacter
RANK_STLcharacter
RANK_BLKcharacter
RANK_TOVcharacter
RANK_PTScharacter
RANK_EFFcharacter

SeasonRankingsPostSeason

col_nametypes
PLAYER_IDcharacter
SEASON_IDcharacter
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
PLAYER_AGEcharacter
GPcharacter
GScharacter
RANK_MINcharacter
RANK_FGMcharacter
RANK_FGAcharacter
RANK_FG_PCTcharacter
RANK_FG3Mcharacter
RANK_FG3Acharacter
RANK_FG3_PCTcharacter
RANK_FTMcharacter
RANK_FTAcharacter
RANK_FT_PCTcharacter
RANK_OREBcharacter
RANK_DREBcharacter
RANK_REBcharacter
RANK_ASTcharacter
RANK_STLcharacter
RANK_BLKcharacter
RANK_TOVcharacter
RANK_PTScharacter
RANK_EFFcharacter

SeasonHighs

col_nametypes
PLAYER_IDcharacter
GAME_IDcharacter
GAME_DATEcharacter
VS_TEAM_IDcharacter
VS_TEAM_CITYcharacter
VS_TEAM_NAMEcharacter
VS_TEAM_ABBREVIATIONcharacter
STATcharacter
STAT_VALUEcharacter
STAT_ORDERcharacter
DATE_ESTcharacter

CareerHighs

col_nametypes
PLAYER_IDcharacter
GAME_IDcharacter
GAME_DATEcharacter
VS_TEAM_IDcharacter
VS_TEAM_CITYcharacter
VS_TEAM_NAMEcharacter
VS_TEAM_ABBREVIATIONcharacter
STATcharacter
STAT_VALUEcharacter
STAT_ORDERcharacter
DATE_ESTcharacter

NextGame

col_nametypes
GAME_IDcharacter
GAME_DATEcharacter
GAME_TIMEcharacter
LOCATIONcharacter
PLAYER_TEAM_IDcharacter
PLAYER_TEAM_CITYcharacter
PLAYER_TEAM_NICKNAMEcharacter
PLAYER_TEAM_ABBREVIATIONcharacter
VS_TEAM_IDcharacter
VS_TEAM_CITYcharacter
VS_TEAM_NICKNAMEcharacter
VS_TEAM_ABBREVIATIONcharacter

Details

Player Profile

 nba_playerprofilev2(player_id = '2544')

Author

Saiem Gilani