UNPKG

poe-api-manager

Version:
21 lines (20 loc) 728 B
import PoeWatch from "../../../../AbstractClass/PoeWatch"; /** * Class for retrieving gem data from the POE Watch API. */ export declare class GemModule extends PoeWatch { /** * Creates a new instance of GemModule. * @param league - The league from which the data will be fetched. */ constructor(league: string); /** * Retrieves category data for accessories. * @async * @param categoryName - The name of the category to retrieve. * * Possible values: "gems", "supportgem". * @returns - A Promise containing data for the specified category. * @throws - Throws errors encountered while fetching data. */ getCategory(categoryName: string): Promise<object[]>; }