Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hoocs151/autoaccept
https://github.com/hoocs151/autoaccept
auto-accept autoaccept autoaccept-match lcu lcu-api league-client league-of-legends leaugeoflegends match-accept python queue-accept
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hoocs151/autoaccept
- Owner: Hoocs151
- Created: 2023-04-05T11:20:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-12T04:12:55.000Z (7 months ago)
- Last Synced: 2024-05-12T05:22:18.936Z (7 months ago)
- Topics: auto-accept, autoaccept, autoaccept-match, lcu, lcu-api, league-client, league-of-legends, leaugeoflegends, match-accept, python, queue-accept
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# League of Legends Auto Accept
This Python script automates the process of accepting match invitations in League of Legends client.
## Prerequisites
- Python 3.x
- Requests library (`pip install requests`)## Usage
1. Make sure League of Legends client is running.
2. Run the Python script.
3. The script will continuously monitor for match invitations and automatically accept them.## How it works
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.
## Disclaimer
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.
## Troubleshooting
- 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
Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or create a pull request.