Skip to content

Python project that uses the public steam web api for Dota 2 to log high MMR games and track professional player's games

Notifications You must be signed in to change notification settings

ayousif00/Dota2ProTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dota2ProTracker

Python project that uses the public steam web api for Dota 2 to log high MMR games and track professional player's games

In development!

Requirements

  • dota2api (pip install dota2api)
  • Flask
  • SQLAlchemy
  • Flask-SQLAlchemy

Tested with Python 3.

Usage

Run create_db.py to create the database. However, a newly created database will be empty and therefore it will not contain hero information like hero avatar urls which will result in an incomplete display of matches. This repository comes with a database (db/database.template.db, rename this to db/database.db) that contains players, heroes and some matches so you don't need to create a new database.

Run match_logger.py to fetch new high MMR games and add them to the database.

Run app.py to run the flask server. Open 127.0.0.1:5000/matches to see matches.

About

Python project that uses the public steam web api for Dota 2 to log high MMR games and track professional player's games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published