This project is an AI-powered match analysis tool for League of Legends (LoL) players, leveraging Node.js and TypeScript, along with Fastify and Langchain. It provides detailed insights into player performance and helps identify areas of improvement to take your gameplay to the next level.
- AI-driven match analysis
- Real-time statistics and performance evaluation
- Personalized recommendations for gameplay improvement
- RESTful API built with Fastify for easy integration with other services
- Langchain for natural language processing (NLP)
- Clone this repository:
git clone https://github.com/thunderjr/league-match-ai-analyzer.git
- Install the required dependencies:
cd league-of-legends-ai-match-analyzer
yarn
- Set up your environment variables by creating a
.env
file in the project root, and fill in the required information:
PORT=<port_number>
RIOT_TOKEN=<your_riot_games_api_key>
OPENAI_API_KEY=<your_open_ai_api_key>
- Start the application:
yarn dev
The watching server should now be running at http://localhost:<port_number>
.
-
GET
/match/ai/:matchId
: Retrieve AI analysis for a specific match by its match ID. -
GET
/summoner/:summonerName
: Retrieve the original summoner response from the League API. -
GET
/match/:matchId
: Retrieve the original match response from the League API.
TODO
- GET
/summoner/ai/:summonerName
: Get performance statistics for a specific summoner by their summoner name.
- Fork the project
- Create your feature branch (
git checkout -b feat/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feat/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License.