Collective Intelligence in League of Legends
Steps for reproducing the results --
- Create and activate virtual environment for the repository using the commands
python3 -m venv .andsource bin/activate - Install dependencies from the requirements.txt file using the command
python3 -m pip install -r requirements.txt - Setup a developers account at Riot Games to use their RESTful APIs through an API key. Create a .env file as shown in sample.env file, and fill in the appropriate values from the developers account
- Run the
gather_dataset.pyscript to fetch API data. Requires creation of certain folders. For example --matchData,matchTimeline,ranksin the root directory - Navigate to the notebooks folder to run analyses on the data
Sample aggregated dataset for games and sample summoner ranks info is provided under the dataset directory