dota

Defense of the Alan


License
MIT
Install
pip install dota==0.1.0

Documentation

DOTA Stats

A library for fetching, processing, and analysis DOTA 2 statistics.

Installation

Via pip with pip install dota or clone the source and python setup.py install.

Dependencies

  • numpy
  • pandas
  • arrow
  • requests
  • lxml
  • sqlalchemy

Finally, you'll need a Steam API key. See the dev forums for documentation on the DOTA 2 web API.

Example:

>>> from dota import api

>>> steam_id = "76561198025007092"
>>> with open('.key') as f:
        key = f.readline().rstrip()

>>> con = api.API(key)
>>> history = con.get_match_history(steam_id=steam_id)