League of Legends web app. Find out whether or not you have a chest with the specified champion. View here
Steps taken to acomplish:
- Get
regionalEndpoint
: user selection - Get
summonerName
: user input - Get
summonerId
:{regionalEndpoint}/lol/summoner/v4/summoners/by-name/{summonerName}?api_key={apiKey}
- Get
championList
: if no current championList is cached,{regionalEndpoint}/lol/static-data/v4/champions?api_key={apiKey}
- Get
championName
: user input - Get
championId
: searchchampionList
- Get
championMastery
:{regionalEndpoint}.api.riotgames.com/lol/champion-mastery/v4/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}?api_key={apiKey}
- Get
chestGranted
: searchchestGranted
inchampionMastery