Skip to contents

Get NBA Stats API Scoreboard

Get NBA Stats API Scoreboard

Usage

nba_scoreboard(league_id = "00", game_date = "2021-07-20", day_offset = 0, ...)

Arguments

league_id

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

game_date

Game Date

day_offset

Day Offset (integer 0,-1)

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: Available, EastConfStandingsByDay, GameHeader, LastMeeting, LineScore, SeriesStandings, WestConfStandingsByDay

GameHeader

col_nametypes
GAME_DATE_ESTcharacter
GAME_SEQUENCEcharacter
GAME_IDcharacter
GAME_STATUS_IDcharacter
GAME_STATUS_TEXTcharacter
GAMECODEcharacter
HOME_TEAM_IDcharacter
VISITOR_TEAM_IDcharacter
SEASONcharacter
LIVE_PERIODcharacter
LIVE_PC_TIMEcharacter
NATL_TV_BROADCASTER_ABBREVIATIONcharacter
LIVE_PERIOD_TIME_BCASTcharacter
WH_STATUScharacter

LineScore

col_nametypes
GAME_DATE_ESTcharacter
GAME_SEQUENCEcharacter
GAME_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_CITY_NAMEcharacter
TEAM_WINS_LOSSEScharacter
PTS_QTR1character
PTS_QTR2character
PTS_QTR3character
PTS_QTR4character
PTS_OT1character
PTS_OT2character
PTS_OT3character
PTS_OT4character
PTS_OT5character
PTS_OT6character
PTS_OT7character
PTS_OT8character
PTS_OT9character
PTS_OT10character
PTScharacter
FG_PCTcharacter
FT_PCTcharacter
FG3_PCTcharacter
ASTcharacter
REBcharacter
TOVcharacter

SeriesStandings

col_nametypes
GAME_IDcharacter
HOME_TEAM_IDcharacter
VISITOR_TEAM_IDcharacter
GAME_DATE_ESTcharacter
HOME_TEAM_WINScharacter
HOME_TEAM_LOSSEScharacter
SERIES_LEADERcharacter

LastMeeting

col_nametypes
GAME_IDcharacter
LAST_GAME_IDcharacter
LAST_GAME_DATE_ESTcharacter
LAST_GAME_HOME_TEAM_IDcharacter
LAST_GAME_HOME_TEAM_CITYcharacter
LAST_GAME_HOME_TEAM_NAMEcharacter
LAST_GAME_HOME_TEAM_ABBREVIATIONcharacter
LAST_GAME_HOME_TEAM_POINTScharacter
LAST_GAME_VISITOR_TEAM_IDcharacter
LAST_GAME_VISITOR_TEAM_CITYcharacter
LAST_GAME_VISITOR_TEAM_NAMEcharacter
LAST_GAME_VISITOR_TEAM_CITY1character
LAST_GAME_VISITOR_TEAM_POINTScharacter

EastConfStandingsByDay

col_nametypes
TEAM_IDcharacter
LEAGUE_IDcharacter
SEASON_IDcharacter
STANDINGSDATEcharacter
CONFERENCEcharacter
TEAMcharacter
Gcharacter
Wcharacter
Lcharacter
W_PCTcharacter
HOME_RECORDcharacter
ROAD_RECORDcharacter

WestConfStandingsByDay

col_nametypes
TEAM_IDcharacter
LEAGUE_IDcharacter
SEASON_IDcharacter
STANDINGSDATEcharacter
CONFERENCEcharacter
TEAMcharacter
Gcharacter
Wcharacter
Lcharacter
W_PCTcharacter
HOME_RECORDcharacter
ROAD_RECORDcharacter

Available

col_nametypes
GAME_IDcharacter
PT_AVAILABLEcharacter

Details

 nba_scoreboard(league_id = '00', game_date = '2021-07-20')

See also

Other NBA Schedule Functions: nba_schedule(), nba_scoreboardv2(), nba_scoreboardv3(), nba_todays_scoreboard()

Author

Saiem Gilani