UNPKG

poe-api-manager

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