UNPKG

supercell-api-scraper

Version:

A supercell games scraper that has additional calculations and info, easy to use methods. [BETA]

27 lines (20 loc) 546 B
export default class Locations { #options: any; constructor(options: any) { this.#options = options; this.rankings = this.rankings; this.list = this.list; return this; } rankings(id: number, raw: boolean = false) { "/locations/{locationId}/rankings/players"; "/locations/{locationId}/rankings/clans"; "/locations/{locationId}/rankings/clans-versus"; "/locations/{locationId}/rankings/players-versus"; } list(id: number) { undefined; ("/locations"); ("/locations/{locationId}"); } }