@leoua/coc-api
Version:
Yet another Clash of Clans API, but with TS support
16 lines (15 loc) • 514 B
TypeScript
/// <reference path="../../../types/types.d.ts" />
interface IWarLogSearchAfterParams {
limit?: number;
after?: string;
}
interface IWarLogSearchBeforeParams {
limit?: number;
before?: string;
}
export declare type TWarLogSearchParams = IWarLogSearchAfterParams | IWarLogSearchBeforeParams;
export default class WarLog {
static readonly path: string;
static get(api: IClashOfClansAPI, clanTag: string, params?: TWarLogSearchParams): Promise<IClanWarLogEntry[]>;
}
export {};