Skip to contents

Current state of the league: game week of the season in progress and its last game week.

Usage

liiga_tournament()

Value

A fastRhockey_data tibble (3 columns; zero rows when a valid payload has none).

col_nametypedescription
cachebustlogicalCache-busting flag for the site.
game_weekintegerGame week of the season.
max_game_weekintegerLast game week of the season.

Details

Endpoint: GET https://liiga.fi/api/v2/tournament

Seasons are END years (2026 = 2025-26), the same key as sdv-py. Requests to liiga.fi are spaced at least one second apart. A request Liiga answers with nothing (an unknown game, a tournament not played that season, a shot map before 2016) raises fastRhockey_no_data; a failed fetch or an error-shaped answer raises fastRhockey_asset_fetch; a bad argument raises fastRhockey_bad_request.

Examples

# \donttest{
  try(liiga_tournament())
#> ── Liiga tournament Information from liiga.fi ──────── fastRhockey 1.0.0.9000 ──
#> ℹ Data updated: 2026-10-13 01:55:46 UTC
#> # A tibble: 1 × 3
#>   cachebust game_week max_game_week
#>   <lgl>         <int>         <int>
#> 1 FALSE             7            28
# }