OpenDota API Interface
pip install opendota2py==1.0
A Python 3 module for the OpenDota API
pip3 install opendota2py
>>> import opendota2py
>>> player = opendota2py.Player(82279028)
>>> player.mmr_estimate
2967
>>> match = player.recent_matches[0]
>>> match.radiant_win
True
>>> match.radiant_score
37
>>> hero = opendota2py.Hero(1)
>>> hero.name
'npc_dota_hero_antimage'
>>> hero.localized_name
'Anti-Mage'
>>> hero.legs
2