Пример #1
0
 /// <summary>
 /// Create a new instance of the <see cref="StaticService"/> service.
 /// </summary>
 /// <param name="config">
 /// A <see cref="LoLManagerConfig"/> containing the configuration information for the API.
 /// </param>
 public StaticService(LoLManagerConfig config)
     : base(config.Region, ApiVersions.V1_2, ApiEndPoints.STATIC_DATA, config.Key)
 {
 }
Пример #2
0
 /// <summary>
 /// Create a new instance of the <see cref="GameService"/> service.
 /// </summary>
 /// <param name="config">
 /// A <see cref="LoLManagerConfig"/> containing the configuration information for the API.
 /// </param>
 public GameService(LoLManagerConfig config)
     : base(config.Region, ApiVersions.V1_3, ApiEndPoints.GAME, config.Key)
 {
 }
Пример #3
0
 /// <summary>
 /// Create a new instance of the <see cref="LeagueService"/> service.
 /// </summary>
 /// <param name="config">
 /// A <see cref="LoLManagerConfig"/> containing the configuration information for the API.
 /// </param>
 public LeagueService(LoLManagerConfig config)
     : base(config.Region, ApiVersions.V2_5, ApiEndPoints.LEAGUE, config.Key)
 {
 }
Пример #4
0
 /// <summary>
 /// Create a new instance of the <see cref="ChampionService"/> service.
 /// </summary>
 /// <param name="config">
 /// A <see cref="LoLManagerConfig"/> containing the configuration information for the API.
 /// </param>
 public ChampionService(LoLManagerConfig config)
     : base(config.Region, ApiVersions.V1_2, ApiEndPoints.CHAMPIONS, config.Key)
 {
 }