This is a project of a student. The goal is to query the data of a summoner in the backend area with Python via the REST interface of Riot Games. In the frontend the data is displayed nicely and the page is made interactive for the user. The focus is clearly at the frontend, because I want to learn TypeScript and React.
Python, Uvicorn with FastAPI, LolWatcher, PyLint
Vite, React, TypeScript, EsLint, Prettier, CSS, MUI, Axios
cd backend
pip install -r requirements.txt (for Windows User)
pip3 install -r requirements.txt (for Mac Users)
cd ..
cd frontend
npm i (or npm install) / yarn install
--> Run the module main.py (Soon will be updated)
cd frontend
npm run dev
This API provides endpoints for various operations related to summoner information, ranked statistics, and champion data.
This endpoint returns information about a specific summoner.
{region}
: The region of the summoner (e.g., "EUW1", "NA1").{summoner_name}
: The name of the summoner.
This endpoint returns the ranked statistics for a specific summoner.
{summoner_id}
: The ID of the summoner.
This endpoint returns the mastery statistics for a specific summoner.
{summoner_id}
: The ID of the summoner.
This endpoint returns the rank of a specific summoner in a particular region.
{region}
: The region of the summoner (e.g., "EUW1", "NA1").{summoner_name}
: The name of the summoner.
This endpoint returns the data of the last match for a specific player.
{region}
: The region of the player (e.g., "EUW1", "NA1").{puuid}
: The unique player ID.
This endpoint returns all available champion data.
This endpoint returns the data for a specific champion based on the champion ID.
{champ_id}
: The ID of the champion.
This endpoint returns information about a specific summoner in all available regions.
{summoner_name}
: The name of the summoner.
The API expects HTTP GET requests and returns JSON objects as responses.
In case of errors, the corresponding HTTP status code is returned, along with an error message in JSON format providing further details.
This backend was developed by Yusuf Uzun.
This project is licensed under the MIT License.