UNPKG

weedwick-api

Version:

A helper library to ease the communication with the Riot API

8 lines (7 loc) 254 B
import request from 'superagent'; export declare class RequestHandler { apiKey: string | undefined; constructor(apiKey?: string); get: (url: string, useKey?: boolean | undefined) => Promise<request.Response>; } export default RequestHandler;