Documentation | Build Status |
---|---|
- Riot Developer Portal : https://developer.riotgames.com/apis
- To get the
RIOT_TOKEN
: https://developer.riotgames.com/docs/portal#web-apis
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"
using LOLTools.SummonerV4
api_key = get(ENV, "RIOT_TOKEN", "")
platform = "kr"
summoner = SummonerV4.summoner_by_name(api_key, platform, "오뚜기3분미트볼")
@info SummonerV4.summoner_by_id(api_key, platform, summoner.id) == summoner
using LOLTools.SpectatorV4
api_key = get(ENV, "RIOT_TOKEN", "")
platform = "kr"
featured = SpectatorV4.featured_games(api_key, platform)
@info featured.gameList[1].participants
using LOLTools.LeagueV4
api_key = get(ENV, "RIOT_TOKEN", "")
platform = "kr"
league = LeagueV4.challengerleagues(api_key, platform, "RANKED_SOLO_5x5")
@info sort(league.entries, by = x -> x.leaguePoints, rev=true)[1:5]
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.