liquipedia-api
Version:
Node.js Liquipedia API
23 lines (22 loc) • 863 B
TypeScript
import { Config } from '../types/config';
import { Hero } from '../types/dota/hero';
import { Match } from '../types/dota/match';
import { Patch } from '../types/dota/patch';
import { Player } from '../types/dota/player';
import { Team } from '../types/dota/team';
import { Transfer } from '../types/dota/transfer';
import { Tournament, TournamentTier } from '../types/dota/tournaments';
import { Item } from '../types/dota/item';
export declare class DotaClient {
private api;
private parser;
constructor(config: Config);
getPlayers(): Promise<Player[]>;
getTeams(): Promise<Team[]>;
getTransfers(): Promise<Transfer[]>;
getMatches(): Promise<Match[]>;
getHeroes(): Promise<Hero[]>;
getItems(): Promise<Item[]>;
getPatches(): Promise<Patch[]>;
getTournaments(tournamentType?: TournamentTier): Promise<Tournament[]>;
}