Skip to contents

Get NBA Stats API Video Details

Get NBA Stats API Video Details

Usage

nba_videodetails(
  ahead_behind = "",
  clutch_time = "",
  context_filter = "",
  context_measure = "FGA",
  date_from = "",
  date_to = "",
  end_period = "",
  end_range = "",
  game_id = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "00",
  location = "",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  period = 0,
  player_id = "2544",
  point_diff = "",
  position = "",
  range_type = "",
  rookie_year = "",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  start_period = "",
  start_range = "",
  team_id = "1610612747",
  vs_conference = "",
  vs_division = "",
  ...
)

Arguments

ahead_behind

ahead_behind

clutch_time

clutch_time

context_filter

context_filter

context_measure

context_measure

date_from

date_from

date_to

date_to

end_period

end_period

end_range

end_range

game_id

game_id

game_segment

game_segment

last_n_games

last_n_games

league_id

league_id

location

location

month

month

opponent_team_id

opponent_team_id

outcome

outcome

period

period

player_id

player_id

point_diff

point_diff

position

position

range_type

range_type

rookie_year

rookie_year

season

season

season_segment

season_segment

season_type

season_type

start_period

start_period

start_range

start_range

team_id

team_id

vs_conference

vs_conference

vs_division

vs_division

...

Additional arguments passed to an underlying function like httr.

Value

Return a list of tibbles: videoUrls, playlist

videoUrls

col_nametypes
uuidcharacter
durlogical
sttlogical
stplogical
sthlogical
stwlogical
mttlogical
mtplogical
mthlogical
mtwlogical
lttlogical
ltplogical
lthlogical
ltwlogical

playlist

col_nametypes
gicharacter
eiinteger
yinteger
mcharacter
dcharacter
gccharacter
pinteger
dsccharacter
hacharacter
vacharacter
hpbinteger
hpainteger
vpbinteger
vpainteger
ptainteger

Details

 nba_videodetails(player_id = '2544', team_id = '1610612747')

See also

Other NBA Video Functions: nba_videodetailsasset(), nba_videoevents(), nba_videostatus()

Author

Saiem Gilani