This is a Python script for automating the login process for League of Legends. It allows users to select an account from a simple GUI and automatically log in to the League of Legends client.
- Python 3.x
- Required Python libraries (install using
pip install [library_name]): - keyboard==0.13.5
- PyAutoGUI==0.9.53
- PyGetWindow==0.0.9
-
Clone or download this repository to your local machine.
-
Install the required Python libraries by running: pip install -r requirements.txt
-
Add your League of Legends accounts to the
Accounts.jsonfile in the following format:
{
"accounts": {
"username1": {
"username": "your_username",
"password": "your_password"
},
"username2": {
"username": "your_username",
"password": "your_password"
}
}
}change the path to your correct client path line 8 in main.py (leagueClientPath) Run the main.py, select the account, and press enter on the username box on the client