Description Public fields Methods
R6 class to access the Teamfight Tactics API. This class is base on the different API path as illustrated in the Riot API website.
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
league
search by league end points. See [league_league] for more info
match
search by match end points. See [league_match] for more info
summoner
search by summoner end points. See [league_summoner] for more info
champion_mastery
search by champion mastery
new()
Create a new league object
league$new(api, region, dry_run = FALSE)
api
Riot API
region
Access region
dry_run
Whether to call API
A new 'league' object
clone()
The objects of this class are cloneable with this method.
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.