Provides an easy way to get started with the Clash Royale API For more information about the responses please check Official Clash Royale Dev Website. Not releated to Supercell. Created By: Philippe Smeets
npm install clashroyale.js
const client = require('clash-of-clans-node');
async function myFunction() {
await client.login('YOUR-TOKEN-HERE');
const player = await client.getPlayer('#8CY9L2CJ')
console.log(`${player.name} (${player.tag})`)
}
myFunction();
This content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it.