-
Notifications
You must be signed in to change notification settings - Fork 0
Getting information about the local summoner
dysolix edited this page Jun 5, 2024
·
2 revisions
This endpoint returns the local summoners Riot ID, PUUID, summoner id and some other data.
const currentSummoner = await client.request("get", "/lol-summoner/v1/current-summoner");
This endpoint returns all ranks, including TFT.
const localSummonerRanks = await client.request("get", "/lol-ranked/v1/current-ranked-stats");
const soloRank = rankData.queueMap["RANKED_SOLO_5x5"];
const rank = soloRank.tier;
const division = soloRank.division;
const lp = soloRank.leaguePoints;
const flexRank = rankData.queueMap["RANKED_FLEX_SR"];