Number of game weeks of a season and tournament.
Value
A fastRhockey_data tibble (3 columns; zero rows when a valid payload has none).
| col_name | type | description |
season | integer | Season END year (2026 = 2025-26). |
serie | character | Tournament code, uppercase (RUNKOSARJA, PLAYOFFS, PRACTICE, ...); in /schedule the integer tournament id instead (see serieId and Divergence notes). |
nb_weeks | integer | Number of game weeks. |
Details
Endpoint: GET https://liiga.fi/api/v2/gameweeks
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.
See also
Other Liiga Functions:
liiga_game(),
liiga_game_goals(),
liiga_game_lineups(),
liiga_game_penalties(),
liiga_game_players_stats(),
liiga_game_shootout(),
liiga_game_stats(),
liiga_game_team_stats(),
liiga_games(),
liiga_goals(),
liiga_player(),
liiga_player_career(),
liiga_player_game_log(),
liiga_player_stats(),
liiga_players_info(),
liiga_schedule(),
liiga_shotmap(),
liiga_standings(),
liiga_team_stats(),
liiga_teams(),
liiga_teams_history(),
liiga_tournament()
Examples
# \donttest{
try(liiga_gameweeks(season = 2026))
#> ── Liiga game weeks Information from liiga.fi ──────── fastRhockey 1.0.0.9000 ──
#> ℹ Data updated: 2026-10-13 01:55:24 UTC
#> # A tibble: 1 × 3
#> season serie nb_weeks
#> <int> <chr> <int>
#> 1 2026 RUNKOSARJA 27
# }
