This Python script automates the process of accepting match invitations in League of Legends client.
- Python 3.x
- Requests library (
pip install requests
)
- Make sure League of Legends client is running.
- Run the Python script.
- The script will continuously monitor for match invitations and automatically accept them.
The script utilizes the Riot Games API to monitor for match invitations. It retrieves the necessary authentication key and port from the LeagueClientUx process using wmic
command in Windows. Then, it sends a POST request to the /lol-matchmaking/v1/ready-check/accept
endpoint with the obtained authorization header to accept match invitations.
This script interacts with the League of Legends client and uses its API. Use it responsibly and at your own risk. The script author is not responsible for any actions taken with this script.
- If the script fails to run, make sure League of Legends client is running and try again.
- Ensure that the necessary dependencies are installed.
Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or create a pull request.