UNPKG

@leoua/coc-api

Version:

Yet another Clash of Clans API, but with TS support

16 lines (15 loc) 536 B
/// <reference path="../../../types/types.d.ts" /> interface IRankingsSearchAfterParams { limit?: number; after?: string; } interface IRankingsSearchBeforeParams { limit?: number; before?: string; } export declare type TRankingsSearchParams = IRankingsSearchAfterParams | IRankingsSearchBeforeParams; export default class PlayersRankings { static readonly path: string; static get(api: IClashOfClansAPI, locationId: number, params?: TRankingsSearchParams): Promise<IPlayerRanking[]>; } export {};