ClubStatsService
A list of all methods in the ClubStatsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
GetCurrentClubStatsAsync | Retrieve current statistics for a specific club. |
GetTeamClubStatsSeasonAsync | Returns an overview of the stats for each season for a specific club. |
GetClubStatsBySeasonAsync | Retrieve the stats for a specific team, season, and game type. |
GetCurrentClubStatsAsync
Retrieve current statistics for a specific club.
- HTTP Method:
GET
- Endpoint:
/v1/club-stats/{team}/now
Parameters
Name | Type | Required | Description |
---|---|---|---|
team | string | ✅ | Three-letter team code |
Return Type
object
Example Usage Code Snippet
using NhlClient;
var client = new NhlClientClient();
var response = await client.ClubStats.GetCurrentClubStatsAsync("team");
Console.WriteLine(response);
GetTeamClubStatsSeasonAsync
Returns an overview of the stats for each season for a specific club.
- HTTP Method:
GET
- Endpoint:
/v1/club-stats-season/{team}
Parameters
Name | Type | Required | Description |
---|---|---|---|
team | string | ✅ | Three-letter team code |
Return Type
object
Example Usage Code Snippet
using NhlClient;
var client = new NhlClientClient();
var response = await client.ClubStats.GetTeamClubStatsSeasonAsync("team");
Console.WriteLine(response);
GetClubStatsBySeasonAsync
Retrieve the stats for a specific team, season, and game type.
- HTTP Method:
GET
- Endpoint:
/v1/club-stats/{team}/{season}/{game-type}
Parameters
Name | Type | Required | Description |
---|---|---|---|
team | string | ✅ | Three-letter team code |
season | long | ✅ | Season in YYYYYYYY format |
gameType | long | ✅ | Game type (2 for regular season, 3 for playoffs) |
Return Type
object
Example Usage Code Snippet
using NhlClient;
var client = new NhlClientClient();
var response = await client.ClubStats.GetClubStatsBySeasonAsync("team", 8, 4);
Console.WriteLine(response);
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs