poe-api-manager
Version:
poe.ninja and poe.watch API
20 lines (19 loc) • 663 B
TypeScript
import CurrencyViewModule from "./modules/poe.ninja/currencyView/CurrencyViewModule";
import ItemViewModule from "./modules/poe.ninja/itemView/ItemViewModule";
export declare class NinjaAPI {
/**
* The CurrencyViewModule instance for fetching currency-related data.
* @type {CurrencyViewModule}
*/
currencyView: CurrencyViewModule;
/**
* The ItemViewModule instance for fetching item-related data.
* @type {ItemViewModule}
*/
itemView: ItemViewModule;
/**
* Creates an instance of NinjaAPI.
* @param {string} league The PoE league for which data is requested.
*/
constructor(league: string);
}