Documentation / Players
Official's games
GET /v1/officials/{official_id}/gamesLive and upPaged, 50 a page
Every game your plan covers that the official worked, newest first, with the role.
GET
https://api.icehockeyapi.com/v1/officials/{official_id}/gameshttps://api.icehockeyapi.com/v1/officials/{official_id}/games?per_page=3curl "https://api.icehockeyapi.com/v1/officials/{official_id}/games?per_page=3" \
-H "X-API-Key: YOUR_KEY"
The example answer is being made; press Run for a real one.
Run works once the API is live; the code above works now.
Parameters
| Name | In | Type | What it does |
|---|---|---|---|
official_id required | path | id | |
page | query | int | The page, from 1. |
per_page | query | int | Records a page, default 50, at most 200. |
cursor | query | string | meta.next_cursor from the previous answer. |
Returns
Each record as in the example answer above.