Skip to contents

A team's record, form and best players in one competition (the body echoes neither id).

Endpoint: GET https://api.kzs.si/api/v1/public/teams/{team_id}/general

Usage

kzs_team_general(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 team. Its columns are listed in return_columns (subset(return_columns, fn == "kzs_team_general")) 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_team_general(competition_id = 579, team_id = 17551)

See also

family_kzs lists every function in this family.