Back to API overview

Ranking

Retrieve rankings

Definition

GET https://api-v2.swissunihockey.ch/api/rankings

Retrieves rankings for a season, a league and a game class. If the method is called with no arguments, the current ranking for NLA league in the current season is returned.

The parameter view can be used to get a short or a full (default) table.

Rankings are only computed for the qualification phase. To show the state of a playoff phase, use the /games overview.

season
integer
season to retrieve rankings for
league
integer
league to retrieve rankings for
game_class
integer
game class to retrieve rankings for
group
integer
group to retrieve rankings for

The return value will be in the form of a TABLE response. Please refer to that documentation for details.

Sample Response