A list of all methods in the MiscellaneousService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
GetConfigurationAsync | Retrieve configuration information. |
PingServerAsync | Ping the server to check connectivity. |
GetCountryInformationAsync | Retrieve country information. Returns list of all countries with a hockey presence(?) |
GetShiftChartsAsync | Retrieve shift charts for a specific game. |
GetGlossaryAsync | Retrieve the glossary for a specific language. |
GetContentModuleAsync | Retrieve content module information. |
GetContentModuleMetadataAsync | Retrieve metadata for content modules. |
Retrieve configuration information.
- HTTP Method:
GET
- Endpoint:
/{lang}/config
Parameters
Name | Type | Required | Description |
---|---|---|---|
lang | string | ✅ | Language code |
Return Type
object
Example Usage Code Snippet
using NhlStatsClient;
var client = new NhlStatsClientClient();
var response = await client.Miscellaneous.GetConfigurationAsync("lang");
Console.WriteLine(response);
Ping the server to check connectivity.
- HTTP Method:
GET
- Endpoint:
/ping
Return Type
object
Example Usage Code Snippet
using NhlStatsClient;
var client = new NhlStatsClientClient();
var response = await client.Miscellaneous.PingServerAsync();
Console.WriteLine(response);
Retrieve country information. Returns list of all countries with a hockey presence(?)
- HTTP Method:
GET
- Endpoint:
/{lang}/country
Parameters
Name | Type | Required | Description |
---|---|---|---|
lang | string | ✅ | Language code |
Return Type
object
Example Usage Code Snippet
using NhlStatsClient;
var client = new NhlStatsClientClient();
var response = await client.Miscellaneous.GetCountryInformationAsync("lang");
Console.WriteLine(response);
Retrieve shift charts for a specific game.
- HTTP Method:
GET
- Endpoint:
/{lang}/shiftcharts
Parameters
Name | Type | Required | Description |
---|---|---|---|
lang | string | ✅ | Language code |
cayenneExp | string | ✅ | Required |
Return Type
object
Example Usage Code Snippet
using NhlStatsClient;
var client = new NhlStatsClientClient();
var response = await client.Miscellaneous.GetShiftChartsAsync("lang", "cayenneExp");
Console.WriteLine(response);
Retrieve the glossary for a specific language.
- HTTP Method:
GET
- Endpoint:
/{lang}/glossary
Parameters
Name | Type | Required | Description |
---|---|---|---|
lang | string | ✅ | Language code |
Return Type
object
Example Usage Code Snippet
using NhlStatsClient;
var client = new NhlStatsClientClient();
var response = await client.Miscellaneous.GetGlossaryAsync("lang");
Console.WriteLine(response);
Retrieve content module information.
- HTTP Method:
GET
- Endpoint:
/{lang}/content/module
Parameters
Name | Type | Required | Description |
---|---|---|---|
lang | string | ✅ | Language code |
Return Type
object
Example Usage Code Snippet
using NhlStatsClient;
var client = new NhlStatsClientClient();
var response = await client.Miscellaneous.GetContentModuleAsync("lang");
Console.WriteLine(response);
Retrieve metadata for content modules.
- HTTP Method:
GET
- Endpoint:
/content/module/meta
Return Type
object
Example Usage Code Snippet
using NhlStatsClient;
var client = new NhlStatsClientClient();
var response = await client.Miscellaneous.GetContentModuleMetadataAsync();
Console.WriteLine(response);