Description Public fields Methods
Sub class for [tft] to access [TFT-LEAGUE-V1](https://developer.riotgames.com/apis#tft-league-v1) end points.
api
Riot API
region
API region, acceptable values: BR1, EUN1, EUW1, JP1, KR, LA1, LA2, NA1, OC1, TR1, RU
dry_run
If true all end point call will return glued URL
new()
Create a new tft object
tft_league$new(api, region, dry_run)
api
Riot API
region
Access region
dry_run
Whether to call API
A new 'tft' object
challenger()
Get challenger league. For more info see [here](https://developer.riotgames.com/apis#tft-league-v1/GET_getChallengerLeague)
tft_league$challenger(region = self$region, dry_run = self$dry_run)
region
Region to query. Default to class's region. Can overwrite.
grandmaster()
Get grandmaster league. For more info see [here](https://developer.riotgames.com/apis#tft-league-v1/GET_getGrandmasterLeague)
tft_league$grandmaster(region = self$region, dry_run = self$dry_run)
region
Region to query. Default to class's region. Can overwrite.
master()
Get master league. For more info see [here](https://developer.riotgames.com/apis#tft-league-v1/GET_getMasterLeague)
tft_league$master(region = self$region, dry_run = self$dry_run)
region
Region to query. Default to class's region. Can overwrite.
by_summoner()
Search client by
tft_league$by_summoner( summonerName = NULL, region = self$region, dry_run = self$dry_run )
by_tier()
tft_league$by_tier( tier = NULL, division = NULL, region = self$region, dry_run = self$dry_run )
by_leagueId()
tft_league$by_leagueId(leagueId, region = self$region, dry_run = self$dry_run)
clone()
The objects of this class are cloneable with this method.
tft_league$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.