@leoua/coc-api
Version:
Yet another Clash of Clans API, but with TS support
16 lines (15 loc) • 532 B
TypeScript
/// <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 ClansRankings {
static readonly path: string;
static get(api: IClashOfClansAPI, locationId: number, params?: TRankingsSearchParams): Promise<IClanRanking[]>;
}
export {};