supercell-coc

1.0.0-patch.2 • Public • Published

Clash of Clans API

(as close to official as I could get)

This is an API for Supercell's game Clash of Clans implemented into Node.JS by z3db0y.

Basic usage:

const CoC = require('supercell-coc')('YOUR_API_KEY_HERE');

// Get user
await CoC.Users.get('#YOUR_USER_TAG_HERE');

// Get clan
await CoC.Clans.get('#YOUR_CLAN_TAG_HERE');

// Get league list
await CoC.Leagues.list();

Again, this is basic usage, for every query you can make please refer to the API docs and use IntelliSense ;)

Made by z3db0y, no rights reserved haha

Package Sidebar

Install

npm i supercell-coc

Weekly Downloads

2

Version

1.0.0-patch.2

License

ISC

Unpacked Size

69.8 kB

Total Files

7

Last publish

Collaborators

  • z3db0y