Skip to content
 
 

Latest commit

 

History

98 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

CocNET

Wrapper to Clash Of Clans API in C# .NET

How to use:

Downoload this project and build it. Add to your application reference to CocNET.dll In your application add:

using CocNET;
using CocNET.Interfaces;

Paste this code:

class Program
{
    static void Main(string[] args)
    {
        string token = "your token";
        Container container = CocCore.Instance(token).Container;

        ICocCoreLeagues leaguesCore = container.Resolve<ICocCoreLeagues>();
        var leagues = leaguesCore.GetLeagues("crystal");
        foreach (var eachLeague in leagues)
        {
            Console.WriteLine(eachLeague.Name);
        }
        // Same with:
        // - ICocCoreLocations
        // - ICocCorePlayers
        // - ICocCoreClans
        Console.ReadKey();
    }
}

Clash Of Clans API Forum

Last reply in thread: http://forum.supercell.net/showthread.php/1017616-Clash-of-Clans-developer-website-now-live%21?p=6934363&viewfull=1#post6934363

About

Hook to Clash Of Clans API in C# .NET

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages