Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-clash

Soumil0768MIT0.1.0

A promised based wrapper for the Clash of Clans API

coc, node-clash, coc api, clash of clans api, clash

readme

Codacy Badge Build Status npm

A promise base library to interact with the Clash of Clans API.

Installation

npm install node-clash

Usage

let API = require('node-clash');
API = new API('your-token-goes-here');

API.getPlayer('RC99808L').then(console.log);

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Official CoC API

API Section(Supercell Forums)