UNPKG

poe-api-manager

Version:
8 lines (7 loc) 340 B
/** * Generates a URL based on league and type. poe.watch API is used. * @param {string} league - The league for which the URL is generated. * @param {string} type - The type of data for which the URL is generated. * @returns {string} - The generated URL. */ export default function urlGenerator(league: string, type: string): string;