supercell-coc
v1.0.0-patch.2
Published
This is an API for Supercell's game [Clash of Clans](https://clashofclans.com) implemented into Node.JS by z3db0y.
Downloads
9
Maintainers
Readme
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