This is a simple web application that uses the Riot Games API to fetch and display information about a League of Legends player.
- Search for a player by their username and tag.
- Display the player's summoner name, summoner level, and highest two champion masteries.
- Display the champion name and icon for each champion mastery.
- Clone the repository.
- Run
npm install
to install the dependencies. - Create a
.env
file in the root directory and add your Riot Games API key: - Run
npm start
to start the application. - Open
http://localhost:3000
in your browser.
Enter a username and tag in the search form and click "Search". The application will fetch and display the player's summoner name, summoner level, and champion mastery.
- Node.js
- Express
- axios
- dotenv
- ejs