Skip to content

juanferrer/champion-chest-checker

Repository files navigation

Champion Chest Checker

League of Legends web app. Find out whether or not you have a chest with the specified champion. View here

Steps taken to acomplish:

  1. Get regionalEndpoint: user selection
  2. Get summonerName: user input
  3. Get summonerId: {regionalEndpoint}/lol/summoner/v4/summoners/by-name/{summonerName}?api_key={apiKey}
  4. Get championList: if no current championList is cached, {regionalEndpoint}/lol/static-data/v4/champions?api_key={apiKey}
  5. Get championName: user input
  6. Get championId: search championList
  7. Get championMastery: {regionalEndpoint}.api.riotgames.com/lol/champion-mastery/v4/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}?api_key={apiKey}
  8. Get chestGranted: search chestGranted in championMastery