UNPKG

poe-api-manager

Version:
13 lines (12 loc) 625 B
/** * Fetches data from the specified league, type, and typeName. * * @param league - The name of the league to fetch data from. * @param typeName - The name of the type to fetch data for. * @param type - The type of data to fetch. * @param requestedProperties - Optional. An array of properties to filter the fetched data by. * @returns A promise that resolves to an array of objects containing the fetched data. * @throws If there is an error fetching the data. */ declare function getData(league: string, typeName: string, type: string, requestedProperties?: string[]): Promise<object[]>; export default getData;