Skip to contents

Returns game content for a given game ID

Usage

nhl_game_content(game_id)

Arguments

game_id

Game unique ID

Value

Returns a tibble

Examples

# \donttest{
   try(nhl_game_content(game_id = 2021020182))
#> ── NHL Game Content Information from NHL.com ────────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:46:53 UTC
#> # A tibble: 6 × 13
#>   type  id     date  title blurb descr…¹ durat…² authF…³ media…⁴ media…⁵ keywo…⁶
#>   <chr> <chr>  <chr> <chr> <chr> <chr>   <chr>   <lgl>   <chr>   <chr>   <list> 
#> 1 video 94675… 2021… Marc… OTT@… David … 00:39   FALSE   9467530 MEDIA_… <df>   
#> 2 video 94681… 2021… Berg… OTT@… David … 00:44   FALSE   9468158 MEDIA_… <df>   
#> 3 video 94679… 2021… Zait… OTT@… Nikita… 00:28   FALSE   9467963 MEDIA_… <df>   
#> 4 video 94677… 2021… Forb… OTT@… A nice… 00:47   FALSE   9467774 MEDIA_… <df>   
#> 5 video 94666… 2021… Sanf… OTT@… The Se… 00:42   FALSE   9466643 MEDIA_… <df>   
#> 6 video 94680… 2021… Murr… OTT@… Matt M… 00:30   FALSE   9468086 MEDIA_… <df>   
#> # … with 2 more variables: image <df[,3]>, playbacks <list>, and abbreviated
#> #   variable names ¹​description, ²​duration, ³​authFlow, ⁴​mediaPlaybackId,
#> #   ⁵​mediaState, ⁶​keywords
# }