Skip to content

Npm package that connects to the clash royale api to get information. Player data, clan info ect.

License

Notifications You must be signed in to change notification settings

Knightplayzz/clash-royale

Repository files navigation

Clash Of Clans

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

Coverage Status

Install size Current version

Introduction

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

Installation

npm install clashroyale.js

Links

Example

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();

Disclaimer

This content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it.

About

Npm package that connects to the clash royale api to get information. Player data, clan info ect.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published