UNPKG

poe-api-manager

Version:
13 lines (12 loc) 504 B
/** * Fetches league names from the provided URL. * * This function fetches data from the specified URL which contains information about * Path of Exile leagues. It then extracts the names of the leagues from the fetched data * and returns them as an array. * * @returns A Promise that resolves with an array of league names. * @throws If an error occurs during the fetch process or if the response data is empty. */ declare function getLeagues(): Promise<string[]>; export default getLeagues;