Method / Path: |
GET /search |
Description: |
Search for games by the club name and/or league code and group no. |
Required (form) parameters: |
q: The club name
apikey: Valid API key registered at swiss unihockey
|
Optional (query) parameters: |
season: The season (default: current season)
leaguecode: The league code
group: The group no.
status: The game status (default: parameter is ignored): 'planned' (games in future only) or 'played' (played games only) [all]
limit: The maximum number of games returned (default: max. 30 games returned) [30]
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 found for the given club name, season, league code and group no.
404: Not Found — No games for the given parameters found.
400: Bad Request — Given club name too short (at least 5 characters are required).
|
Testing: |
Test form (click to reveal)
Hide
|