liquipedia-api
Version:
Node.js Liquipedia API
48 lines (47 loc) • 1.47 kB
TypeScript
import { Config } from '../types/config';
import { TournamentTier } from '../types/pubgmobile/tournaments';
/**
* API class for interacting with Liquipedia PUBG Mobile endpoints.
*/
export declare class PubgMobileApi {
private config;
private request;
/**
* Create a new PubgMobileApi instance.
* @param config API configuration
*/
constructor(config: Config);
/**
* Get all PUBG Mobile players.
*/
getPlayers(): Promise<import("../types/request").Response>;
/**
* Get all PUBG Mobile teams.
*/
getTeams(): Promise<import("../types/request").Response>;
/**
* Get all PUBG Mobile player transfers.
*/
getTransfers(): Promise<import("../types/request").Response>;
/**
* Get all upcoming and ongoing PUBG Mobile matches.
*/
getMatches(): Promise<import("../types/request").Response>;
/**
* Get all PUBG Mobile maps.
*/
getMaps(): Promise<import("../types/request").Response>;
/**
* Get all PUBG Mobile weapons.
*/
getWeapons(): Promise<import("../types/request").Response>;
/**
* Get all PUBG Mobile vehicles.
*/
getVehicles(): Promise<import("../types/request").Response>;
/**
* Get all PUBG Mobile tournaments for a given tier.
* @param tournamentTier The tournament tier to filter by
*/
getTournaments(tournamentTier: TournamentTier): Promise<import("../types/request").Response>;
}