Class R6StatsClientConfig
Config object used to initialize the API client R6StatsClient
Inheritance
System.Object
R6StatsClientConfig
Namespace: R6Stats
Assembly: R6Stat-Sharp.dll
Syntax
public sealed class R6StatsClientConfig : object
Constructors
| Improve this Doc View SourceR6StatsClientConfig()
Create a new config for R6StatsClient
Declaration
public R6StatsClientConfig()
R6StatsClientConfig(String)
Create a new config for R6StatsClient
Declaration
public R6StatsClientConfig(string apiKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | apiKey | API key needed to access the R6 Stats API |
Properties
| Improve this Doc View SourceApiKey
Bearer token for the API which can be obtained from R6Stats Discord Server
Declaration
public string ApiKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |