Skip to contents

A team's roster in one competition (the rows carry no team or competition id).

Endpoint: GET https://api.kzs.si/api/v1/public/teamPlayers/

Usage

kzs_roster(team_id, competition_id)

Arguments

team_id

(required) Team id (team_id in kzs_teams): one club team in one season, e.g. 17551. Not the match-team id nor the club id.

competition_id

(required) Competition id (competition_id in kzs_competitions): one per competition per season, e.g. 579 (men's first league 2025/26).

Value

A hoopR_data tibble with one row per player. Its columns are listed in return_columns (subset(return_columns, fn == "kzs_roster")) and in the searchable return columns article.

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in kzs_seasons().

 kzs_roster(competition_id = 579, team_id = 17551)

See also

family_kzs lists every function in this family.