Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
/ ClashOfClans.NET Public archive

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

72 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>()));

About

A simple wrapper for the official clash of clans API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages