Skip to content

Npm package that connects to the clash of clans api to get information about players, clans ect.

License

Notifications You must be signed in to change notification settings

Knightplayzz/clash-of-clans

Repository files navigation

Clash Of Clans

A light-weight module that makes Clash Of Clans API become easy.

Coverage Status

Install size Current version

Introduction

Provides an easy way to get started with the Clash of Clans API For more information about the responses please check Official Clash of Clans Dev Website. Not releated to Supercell. Created By: Philippe Smeets

Installation

npm install clash-of-clans-node

Links

Example

const client = require('clash-of-clans-node');
async function myFunction() {
    await client.login('YOUR-TOKEN-HERE');
    const clan = await client.getClan('#2GLVC9GYV');
    console.log(`${clan.name} (${clan.tag})`);
}
myFunction();

Disclaimer

This content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it. For more information see Supercell's Fan Content Policy: <www.supercell.com/en/fan-content-policy/>

About

Npm package that connects to the clash of clans api to get information about players, clans ect.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published