Documentation / Players
Awards
GET /v1/players/{player_id}/awardsFree key and up
The trophies and awards a player has won, by season.
GET
https://api.icehockeyapi.com/v1/players/{player_id}/awardshttps://api.icehockeyapi.com/v1/players/pl_zgna58ee/awardscurl "https://api.icehockeyapi.com/v1/players/pl_zgna58ee/awards" \ -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
"data": [],
"meta": {
"count": 0,
"player_id": "pl_zgna58ee",
"plan": "Complete"
}
}Run works once the API is live; the code above works now.
Parameters
| Name | In | Type | What it does |
|---|---|---|---|
player_id required | path | id | A player, from /v1/players. |
Returns
Each record as in the example answer above.