Get NBA Stats API Player Game Logs
Get NBA Stats API Player Game Logs
Usage
nba_playergamelogs(
date_from = "",
date_to = "",
game_segment = "",
last_n_games = 0,
league_id = "00",
location = "",
measure_type = "Base",
month = 0,
opponent_team_id = 0,
outcome = "",
po_round = "",
per_mode = "Totals",
period = 0,
player_id = "2544",
season = year_to_season(most_recent_nba_season() - 1),
season_segment = "",
season_type = "Regular Season",
team_id = "",
vs_conference = "",
vs_division = "",
...
)
Arguments
- date_from
date_from
- date_to
date_to
- game_segment
game_segment
- last_n_games
last_n_games
- league_id
League - default: '00'. Other options include '10': WNBA, '20': G-League
- location
location
- measure_type
measure_type
- month
month
- opponent_team_id
opponent_team_id
- outcome
outcome
- po_round
po_round
- per_mode
per_mode
- period
period
- player_id
Player ID
- season
Season - format 2020-21
- season_segment
season_segment
- season_type
Season Type - Regular Season, Playoffs, All-Star
- team_id
team_id
- vs_conference
vs_conference
- vs_division
vs_division
- ...
Additional arguments passed to an underlying function like httr.
Value
Return a named list of data frames: PlayerGameLogs
PlayerGameLogs
col_name | types |
SEASON_YEAR | character |
PLAYER_ID | character |
PLAYER_NAME | character |
NICKNAME | character |
TEAM_ID | character |
TEAM_ABBREVIATION | character |
TEAM_NAME | character |
GAME_ID | character |
GAME_DATE | character |
MATCHUP | character |
WL | character |
MIN | character |
FGM | character |
FGA | character |
FG_PCT | character |
FG3M | character |
FG3A | character |
FG3_PCT | character |
FTM | character |
FTA | character |
FT_PCT | character |
OREB | character |
DREB | character |
REB | character |
AST | character |
TOV | character |
STL | character |
BLK | character |
BLKA | character |
PF | character |
PFD | character |
PTS | character |
PLUS_MINUS | character |
NBA_FANTASY_PTS | character |
DD2 | character |
TD3 | character |
WNBA_FANTASY_PTS | character |
GP_RANK | character |
W_RANK | character |
L_RANK | character |
W_PCT_RANK | character |
MIN_RANK | character |
FGM_RANK | character |
FGA_RANK | character |
FG_PCT_RANK | character |
FG3M_RANK | character |
FG3A_RANK | character |
FG3_PCT_RANK | character |
FTM_RANK | character |
FTA_RANK | character |
FT_PCT_RANK | character |
OREB_RANK | character |
DREB_RANK | character |
REB_RANK | character |
AST_RANK | character |
TOV_RANK | character |
STL_RANK | character |
BLK_RANK | character |
BLKA_RANK | character |
PF_RANK | character |
PFD_RANK | character |
PTS_RANK | character |
PLUS_MINUS_RANK | character |
NBA_FANTASY_PTS_RANK | character |
DD2_RANK | character |
TD3_RANK | character |
WNBA_FANTASY_PTS_RANK | character |
VIDEO_AVAILABLE_FLAG | character |
See also
Other NBA Player Functions:
nba_infographicfanduelplayer()
,
nba_leaguedashplayerbiostats()
,
nba_leaguedashplayerclutch()
,
nba_leaguedashplayershotlocations()
,
nba_leaguedashplayerstats()
,
nba_leagueplayerondetails()
,
nba_leagueseasonmatchups()
,
nba_matchupsrollup()
,
nba_playerawards()
,
nba_playercareerbycollegerollup()
,
nba_playercareerbycollege()
,
nba_playercareerstats()
,
nba_playercompare()
,
nba_playerdashboardbyclutch()
,
nba_playerdashboardbygamesplits()
,
nba_playerdashboardbygeneralsplits()
,
nba_playerdashboardbylastngames()
,
nba_playerdashboardbyopponent()
,
nba_playerdashboardbyshootingsplits()
,
nba_playerdashboardbyteamperformance()
,
nba_playerdashboardbyyearoveryear()
,
nba_playerdashptpass()
,
nba_playerdashptreb()
,
nba_playerdashptshotdefend()
,
nba_playerdashptshots()
,
nba_playerestimatedmetrics()
,
nba_playerfantasyprofilebargraph()
,
nba_playerfantasyprofile()
,
nba_playergamelog()
,
nba_playergamestreakfinder()
,
nba_playerheadshot()
,
nba_playerindex()
,
nba_playernextngames()
,
nba_playerprofilev2()
,
nba_playervsplayer()