Skip to contents

Get ESPN NHL Tournaments (core-v2)

Usage

espn_nhl_tournaments(limit = 100, ...)

Arguments

limit

Maximum number of tournaments to return (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per tournament reference. The NHL tournaments endpoint is sparsely populated (typically 1 entry):

col_nametypesdescription
refcharacter$ref URL for the tournament object.
tournament_idcharacterESPN tournament id parsed from the $ref URL.
countintegerTotal tournaments in the collection.
page_countintegerTotal pages in the collection.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_tournaments())
#> ── NHL Tournaments data from ESPN core-v2 ───────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:27:54 UTC
#> # A tibble: 1 × 4
#>   ref                                             tournament_id count page_count
#>   <chr>                                           <chr>         <int>      <int>
#> 1 http://sports.core.api.espn.com/v2/sports/hock… 1                 1          1
# }