Skip to content

lucasb-eyer/dota2info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dota2info

Ready for world domination

Python tools for Dota 2 .demson replays - linewise json formatted information extracted from .dem files. Based on dota2py.

Web API client

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)

.demson Parser

To show a summary of useful information from a .demson, run summary.py or dota2info_summary (this functionality is a work in progress)

Setup

>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

producing summaries the easy way

>dota2info_produceSummary.py path/to/replay.dem

installing snappy

>CFLAGS=-I$VIRTUAL_ENV/include LDFLAGS=-L$VIRTUAL_ENV/lib pip install python-snappy

About

Ready for world domination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published