UNPKG

liquipedia-api

Version:
9 lines (8 loc) 328 B
import { AxiosRequestConfig } from 'axios'; import { Game } from '../types/dota/games'; import { Response } from '../types/request'; export declare class Request { private request; constructor(game: Game, userAgent: string, baseURL?: string); get(url: string, config?: AxiosRequestConfig<any>): Promise<Response>; }