UNPKG

zhonya

Version:

A simple and typed League of Legends API wrapper for Node.js

18 lines (17 loc) 593 B
import { IZhonyaContext } from "../client"; import { FreeWeekDto } from "../resources/freeWeek/types"; /** * Class for accessing free champion rotation functionalities */ export declare class FreeWeekAPI { private freeWeekService; private context; constructor(context: IZhonyaContext); /** * Get the free champion rotation for the week * @returns Free champion rotation data * @throws {ZhonyaError} - If there's an error with the client or API request * @remarks **This method requires a valid API key to work** */ get(): Promise<FreeWeekDto>; }