Ready for world domination
Python tools for Dota 2 .demson replays - linewise json formatted information extracted from .dem files. Based on dota2py.
A thin wrapper around the Dota 2 web API described at: http://dev.dota2.com/showthread.php?t=47115
This uses either the requests library (dota2py/api.py), or Twisted (dota2py/twisted/api.py)
To show a summary of useful information from a .demson, run summary.py or dota2info_summary (this functionality is a work in progress)
>export DOTA2INFO_DATA=PATH/TO/DATA
in .zshrc or .bashrc, to the directory which holds the folder hierarchy with replays and outputs
make sure the folder structure is: >data/replays >data/output
>dota2info_produceSummary.py path/to/replay.dem
>CFLAGS=-I$VIRTUAL_ENV/include LDFLAGS=-L$VIRTUAL_ENV/lib pip install python-snappy