Method / Path: |
GET /{leaguecode}/groups/{group}/games |
Description: |
Returns all games. |
Path parameters: |
leaguecode: The league code
group: The group
|
Required (form) parameters: |
apikey: Valid API key registered at swiss unihockey
|
Optional (query) parameters: |
season: The season (if parameter is omitted current season is set)
club: The club identifier or club name (min. 5 characters)
status: The game status (default: ignore parameter): 'planned' (games in future only) or 'played' (played games only)
limit: The maximum number of games returned [10]
order: Games in output sorted by date in ascending (ASC) or descending (DESC) order [ASC]
|
Response formats: |
xml
|
Status codes: |
200: OK — Returning all games.
404: Not Found — No games could be found.
400: Bad Request — Given club name is too short (at least 5 characters are required).
|
Testing: |
Test form (click to reveal)
Hide
|