All URIs are relative to https://statsapi.web.nhl.com/api/v1
Method | HTTP request | Description |
---|---|---|
get_conference | Get /conferences/{id} | Get an NHL conference. |
get_conferences | Get /conferences | Get all current NHL conferences. |
crate::models::Division get_conference(id) Get an NHL conference.
You can use this to also retrieve inactive conferences. For example, the ID for the World Cup of Hockey is 7
.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | f32 | The ID of the conference. | Required |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Conferences get_conferences() Get all current NHL conferences.
This only retrieves active conferences. For inactive conferences, use /conferences/{id}
.
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]