Not sure if this is the right section, but there's threads about a stats site here so I guess it fits.
I made a simple Python library for the Dota 2 stats API. It's a bit unpolished and not documented all that well, but I would improve it if anyone is interested.
Basic instructions:
1. Put your API Key in d2slib.py
2. Run generateHeroList.py to generate a list of heroes and hero IDs
3. Look at the example scripts included (playerSkillReport and test) to see how to use the functions in d2slib.py
Download:
https://mega.co.nz/#!jA9QmRIR!Tjs1VX...vxpsBFbX_s3nRs
Changelog:
2012/08/10: Bugfixes, shouldn't choke up on bot games as much
2012/08/19: More bugfixes, rate limiter works correctly now, internal changes to playerSkillReport
2013/10/09: Python 3 compatibility, fixed issues with new API
I made a simple Python library for the Dota 2 stats API. It's a bit unpolished and not documented all that well, but I would improve it if anyone is interested.
Basic instructions:
1. Put your API Key in d2slib.py
2. Run generateHeroList.py to generate a list of heroes and hero IDs
3. Look at the example scripts included (playerSkillReport and test) to see how to use the functions in d2slib.py
Download:
https://mega.co.nz/#!jA9QmRIR!Tjs1VX...vxpsBFbX_s3nRs
Changelog:
2012/08/10: Bugfixes, shouldn't choke up on bot games as much
2012/08/19: More bugfixes, rate limiter works correctly now, internal changes to playerSkillReport
2013/10/09: Python 3 compatibility, fixed issues with new API
Comment