UNPKG

supercell-coc

Version:

This is an API for Supercell's game [Clash of Clans](https://clashofclans.com) implemented into Node.JS by z3db0y.

52 lines (50 loc) 1.57 kB
// Incomplete file. // PRs welcome! (enums on docs don't match with response values) module.exports = { ClanMemberRole: class { // Unsure: not_member static NOT_MEMBER = "not_member"; static MEMBER = "member"; static LEADER = "leader"; static ADMIN = "admin"; static CO_LEADER = "coLeader"; }, WarPreference: class { static OUT = "out"; static IN = "in"; }, Village: class { static HOME_VILLAGE = "home"; static BUILDER_BASE = "builderBase"; }, ClanType: class { static INVITE_ONLY = "inviteOnly"; static OPEN = "open"; static CLOSED = "closed"; }, // Unsure WarFrequency: class { static ONCE_PER_WEEK = "oncePerWeek"; static MORE_THAN_ONCE_PER_WEEK = "moreThanOncePerWeek"; static LESS_THAN_ONCE_PER_WEEK = "lessThanOncePerWeek"; static NEVER = "never"; static ALWAYS = "always"; static UNKNOWN = "unknown"; static ANY = "any"; }, // Unsure ClanWarState: class { static CLAN_NOT_FOUND = "clanNotFound"; static NOT_IN_WAR = "notInWar"; static IN_WAR = "inWar"; static WAR = "war"; static ACCESS_DENIED = "accessDenied"; static IN_MATCHMAKING = "inMatchmaking"; static MATCHED = "matched"; static PREPARATION = "preparation"; static ENDED = "ended"; } } for(let key in module.exports) { Object.freeze(module.exports[key]); }