Back to API overview

Topscorers

Retrieve Swiss Unihockey Topscorers

Definition

GET https://api-v2.swissunihockey.ch/api/topscorers/su

Returns a TABLE object containing the Swiss Unihockey Topscorers. These parameters can be given to the request:

season
integer
season to query, by first year (ie: season=2013)
phase
one of {"group" or "finals"}
whether to return group phase topscorers or finals topscorers
amount
integer
how many ranks to load - 'all' loads all.

By default, you will get gentlemans NLA league first; you can navigate using the tab links to all national leagues. Currently, you will only get the first 20 entries to the list by default.

Sample Response: "group" phase

Sample Response: "finals" phase

Retrieve Mobiliar Topscorers

Definition

GET https://api-v2.swissunihockey.ch/api/topscorers/mobiliar

Returns a TABLE object containing the Mobiliar Topscorers. These parameters can be given to the request:

season
integer
season to query, by first year (ie: season=2013)

By default, you will get gentlemans NLA league first; you can navigate using the tab links to all national leagues. Currently, you will only get the first 20 entries to the list.

Sample Response

Retrieve highest-ranking Mobiliar Topscorer(s)

Definition

GET https://api-v2.swissunihockey.ch/api/topscorers/mobiliar-highlight

Returns a TABLE object containing the highest ranking Mobiliar Topscorer(s).

You may request a table containing the male and female topscorer of all clubs or retrieve the topscorer(s) of a single club.

For a single club only one topscorer is returned if the club sends only a female or only a male team to NLA.

These parameters can be given to the request:

season
integer
Season to query, by first year (ie: season=2013)
club_id
integer
Id of the club to display topscorers for. Defaults to all clubs.
view_type
string
Optional, sets the response TABLE subtype as specified. Valid values: "table", "attribute_list", defaults to "attribute_list"

The first example below shows specifies no club id, the second one does.

Sample Response

Sample Response