clash-of-clans-node
v1.1.4
Published
Npm package that connects to the clash of clans api to get information. Clans, player data ect.
Downloads
133
Maintainers
Readme
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/>