Skip to content

A simple wrapper for the official clash of clans API.

License

Notifications You must be signed in to change notification settings

rmg-x/ClashOfClans.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget downloads

ClashOfClans.NET

A simple wrapper for the official clash of clans API.

Installation

NuGet package manager console: Install-Package ClashOfClans.NET

Or using the .NET core CLI: dotnet add package ClashOfClans.NET

Usage (basic)

using ClashOfClans;

var clashOfClansClient = new ClashOfClansClient("your_api_token");

Usage with IHttpClientFactory (Dependency Injection)

using ClashOfClans;
using ClashOfClans.Core.Interfaces;

// Typically from a web application builder
IServiceCollection services;

services.AddHttpClient();

services.AddSingleton<IClashOfClansClient>(provider => new ClashOfClansClient("your_api_token", provider.GetService<IHttpClientFactory>()));

Releases

No releases published

Packages

No packages published

Languages