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
npm install clash-of-clans-node
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();
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/>