import { RiotClient } from "https://deno.land/x/deno_tft@1.0.0/mods.ts";
Constructors
new
RiotClient(RIOT_API_KEY?: string | undefined,
REGION_URL?: RegionalUrls | string,
PLATFORM_URL?: PlatformUrls | string,
Methods
private
makeFetchOptions()getAllTftMatchesByPuuid(encryptedPUUID?: string, count?): Promise<Array<string>>
getTftAdvLeague(leagueName?: AdvLeague | string): Promise<LeagueListDTO>
********************** LEAGUE *************************
getTftByMatchId(matchId?: string): Promise<TFTMatch>
*************************** MATCH DATA ********************************
getTftEntriesByTier(tier?: Tier | string, division?: Division | string): Promise<LeagueEntryDTO>
getTftLeagueById(leagueId: string): Promise<LeagueListDTO>
getTftMatches(encryptedSummonerId: string): Promise<LeagueListDTO>
getTftSummonerByAccount(accountId?: string): Promise<SummonerObj>
getTftSummonerById(id?: string): Promise<SummonerObj>
getTftSummonerByName(summonerName?: string): Promise<SummonerObj>
************************ SUMMONER DATA ********************************
getTftSummonerByPuuid(puuId?: string): Promise<SummonerObj>
setAPIKey(NEW_API_KEY: string)