Entry for Riot's League of Legends API challenge that generates a visualisation of how each champion counters one another in URF.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
get_matches.py
parse_matches.py
riot.txt
supermegacountertable.html

README.md

Super Mega Counter Table

This is an entry for Riot's League of Legends API challenge that generates a visualisation of how each champion counters one another.

Demo

A working demo generated from over 42k URF matches is at http://930913.github.io/super-mega-counter-table/supermegacountertable.html

Workings

config.py contained the configuration for the directory and api key

api_key="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
dir="./matches/"

get_matches.py was executed every five minutes by cron. This populated the directory with the matches from the bucket list.

parse_matches.py was then executed to produce a winmap file.

The winmap file could be hosted separately, or copied into supermegacountertable.html to render the visualisation.

Disclaimer

Super Mega Counter Table isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.