Git Product home page Git Product logo

lolpredict's Introduction

LoLPredict

Overview

This repository stores various Python scripts that can be used to make API requests to the Riot Games League of Legends API. This is part of an undergraduate thesis project focusing on predicting the outcome of ranked solo queue matches in the game League of Legends.

Live Demo (BETA):

Python Script Summary

Below is a brief summary of all Python scripts and what they are used for. More detail on each script is provided within the scripts folder.

  1. findLeagues.py - used to find a collection of player IDs in a given skill group (Gold, Platinum, Diamond etc.) that can then be used to request a history of matches for each player
  2. convertEpochTime.py - used within other scripts to convert from Epoch time to standard date format. This is important when trying to determine how many days ago a specific match was played
  3. singleMatchPull.py - takes a summoner ID as input and pulls various data points from the last match played by that summoner ID
  4. groupMatchPull.py - loops through roughly 2000 Diamond level players and pulls the data of their last match if it was played within the last 24 hours
  5. infiniteMatchPull.py - continuously tracks more than 20,000 Diamond level players and records their match information if they are currently playing in a ranked solo queue match. This script will result in the most accurate and up-to-date data.
  6. getMatchResult.py - the CSV file created by process_data.py is missing an entry for the Match Outcome data point because the match is still being played as the data is pulled. In order to fill in these missing entries, this script opens the CSV file and makes API requests to find the match outcome for each matchID.
  7. process_data.py - uses the CSV file created by infiniteMatchPull and reduces the attributes for each match down to ratios between the Blue and Red team averages.

Contributors

  1. Alex Neumann

Release Notes

  • September 2, 2015
    • added output files for all scripts
    • added python code for each script
    • added descriptions for each script in the Scripts folder

lolpredict's People

Contributors

alexneumann avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.