LOLTools.jl

https://github.com/wookay/LOLTools.jl

info

MatchV5

using LOLTools.MatchV5

api_key = get(ENV, "RIOT_TOKEN", "")
region = "asia"
matchId = "KR_5424985325"
match = MatchV5.match_by_match_id(api_key, region, matchId)
@info match.info.participants[10].summonerName == "Chooooovyyyyyy"

SummonerV4

using LOLTools.SummonerV4

api_key = get(ENV, "RIOT_TOKEN", "")
region = "kr"
summoner = SummonerV4.summoner_by_name(api_key, region, "오뚜기3분미트볼")
@info SummonerV4.summoner_by_id(api_key, region, summoner.id) == summoner

SpectatorV4

using LOLTools.SpectatorV4

api_key = get(ENV, "RIOT_TOKEN", "")
region = "kr"
featured = SpectatorV4.featured_games(api_key, region)
@info featured.gameList[1].participants

LeagueV4

using LOLTools.LeagueV4

api_key = get(ENV, "RIOT_TOKEN", "")
region = "kr"
league = LeagueV4.challengerleagues(api_key, region, "RANKED_SOLO_5x5")
@info sort(league.entries, by = x -> x.leaguePoints, rev=true)[1:5]

DataDragon

LOLTools.jl isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends (c) Riot Games, Inc.