Notes: There are some functions which require configuring to your own usage:
- Functions involving the usage of mouse clicks will only work if your display is in 19201080px with zoom scaling set to 100%.
- The OP.GG lookup function requires you to add your player id and tagline to use the default search method.
- The Riot API Key Regenerator requires you To Use Google Chrome to log in to the developer portal.
- The Next Page Function requires you to specify the location of the next page button on the screen after pressing the "End" Key (The "Window: X, Y" Coordinates in the Window Spy Tool).
- Python version 3.9.13 or later.
- Must install dependencies using
pip install -r requirements.txt
. - Be sure to go to task manager after running to check for if there are chrome processes running in the background and end the task or they will stack up and eat a ton of cpu
-
Navigate to the scripts directory.
-
Run the opgg_scraper.py script with the following arguments:
- Summoner Name (If name includes spaces put quotes around it. Example: 'Hide on Bush')
- Tag (No #)
- Season Number
- 27 = 2024 S2
- 25 = 2024 S1
- 23 = 2023 S2
- 21 = 2023 S1
- 19 = 2022
- 17 = 2021
- 15 = 2020
- 13 = Season 9
- 11 = Season 8
- 7 = Season 7
- 6 = Season 6
- ...etc
Example:
python opgg_scraper.py Fire 2842 27
. -
Repeat Step 2 for all desired seasons.
-
Run the parse_stats.py script with the following arguments:
- Summoner Name
- Season Number
Example:
python parse_stats.py Fire 27
. -
Repeat step 4 for all desired seasons.
-
A directory named Data will be created with a unique directory for each summoner that is searched for.
- Inside each summoner Directory there will be individual Season stat Jsons where the specific stats for that season may be viewed.
- There will also be a single Season Stats json which will include data from all seasons that have been processed.
Hotkey Format: ### OR #### "Modifer" - Assigned Key , Function - Conditional Requirements
-
O , Open OP.gg and close Adblock
- Always Active
-
M , Go To Match History
- League Client Active
-
C , Go To Challenges
- League Client Active
-
L , Open Lolalytics Matchup data based on Champion, Patch, & Lane
- Always Active
-
O , Pull Opgg season data for a player.
- Always Active
-
P , Pause Scripts
- Always Active
-
R , Reload All Scripts
- Not Active League In Game
-
E , Edit Primary
- Not Active League In Game AND Not Active VSCode
Hotstring Format: ### OR #### Hotstring Type - Trigger String , Function - Conditional Requirements
- Datacomp , Lolalytics Data Template
- Always Active
- Keyregen , Riot APi Key Regenerator
- Chrome Active
- Normal , Start Normal League Game
- Always Active
- Ranked , Start Ranked League Game
- Always Active
- TFT , Start TFT Game
- Always Active
- Aram , Start Aram Game
- Always Active
- Arena , Start Arena Game
- Always Active