Skip to contents

Get NBA Stats API Today's Scoreboard

Get NBA Stats API Today's Scoreboard

Usage

nba_todays_scoreboard(...)

Arguments

...

Additional arguments passed to an underlying function like httr.

Value

Return a data frame with the following columns:

col_nametypesdescription
game_idcharacterUnique game identifier.
game_codecharacterESPN game code (numeric identifier).
game_statusintegerGame status label.
game_status_textcharacterGame status display text (e.g. 'Final', '4:32 - 4th').
periodintegerPeriod of the game (1-4 quarters; 5+ for OT).
game_clockcharacterGame clock.
game_time_utccharacterGame start time in UTC (ISO 8601 timestamp).
game_etcharacterGame et.
regulation_periodsintegerRegulation periods.
if_necessarylogicalIf necessary.
series_game_numbercharacterSeries game number.
series_textcharacterSeries text.
series_conferencecharacterSeries conference.
po_round_desccharacterPo round desc.
game_subtypecharacterGame subtype.
home_team_idintegerUnique identifier for the home team.
home_team_namecharacterHome team name.
home_team_citycharacterHome team city / location.
home_team_tricodecharacterHome team three-letter code.
home_winsintegerHome team's wins.
home_lossesintegerHome team's losses.
home_scoreintegerHome team score at the time of the play.
home_seedlogicalHome team's seed.
home_in_bonuscharacterHome team's in bonus.
home_timeouts_remainingintegerHome team's timeouts remaining.
home_periodslistHome team's periods.
away_team_idintegerUnique identifier for the away team.
away_team_namecharacterAway team name.
away_team_citycharacterAway team city / location.
away_team_tricodecharacterAway team three-letter code.
away_winsintegerAway team's wins.
away_lossesintegerAway team's losses.
away_scoreintegerAway team score at the time of the play.
away_seedlogicalAway team's seed.
away_in_bonuscharacterAway team's in bonus.
away_timeouts_remainingintegerAway team's timeouts remaining.
away_periodslistAway team's periods.
home_leaders_person_idintegerUnique identifier for home leaders person.
home_leaders_namecharacterHome leaders name.
home_leaders_jersey_numcharacterHome team's leaders jersey num.
home_leaders_positioncharacterHome team's leaders position.
home_leaders_team_tricodecharacterHome team's leaders team tricode.
home_leaders_player_slugcharacterHome team's leaders player slug.
home_leaders_pointsintegerHome team's leaders points.
home_leaders_reboundsintegerHome team's leaders rebounds.
home_leaders_assistsintegerHome team's leaders assists.
away_leaders_person_idintegerUnique identifier for away leaders person.
away_leaders_namecharacterAway leaders name.
away_leaders_jersey_numcharacterAway team's leaders jersey num.
away_leaders_positioncharacterAway team's leaders position.
away_leaders_team_tricodecharacterAway team's leaders team tricode.
away_leaders_player_slugcharacterAway team's leaders player slug.
away_leaders_pointsintegerAway team's leaders points.
away_leaders_reboundsintegerAway team's leaders rebounds.
away_leaders_assistsintegerAway team's leaders assists.
pb_odds_teamlogicalPb odds team.
pb_odds_oddsnumericPb odds odds.
pb_odds_suspendedintegerPb odds suspended.

Author

Saiem Gilani