Method / Path: |
GET /{teamid}/games |
Description: |
Returns the games of a team. |
Path parameters: |
teamid: The team id
|
Required (form) parameters: |
apikey: Valid API key registered at swiss unihockey
|
Optional (query) parameters: |
season: The season (default: current season)
status: The game status (default: ignore parameter): 'planned' (games in future only) or 'played' (played games only)
limit: The maximum number of games returned (default: max. 20 games are returned) [20]
order: Games in output sorted by date in ascending (ASC) or descending (DESC) order [ASC]
|
Response formats: |
xml
|
Status codes: |
200: OK — Returning the games for this team (for the given season and status).
404: Not Found — No games for this team found (for the given season and status).
|
Testing: |
Test form (click to reveal)
Hide
|