Skip to content

A Python module to read the list of heroes in Dota 2 from Valve's website. Does not require an API key.

License

Notifications You must be signed in to change notification settings

hrasdt/dota2_hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

dota2_hero

A Python module to read the list of heroes in Dota 2 from Valve's website. Does not require an API key.

Run the python file with "--help" for usage as a script, or run pydoc dota2_hero in the directory for module documentation. The source is only 300 lines, so you can always read that as a guide.

To get started, try:

for h in dota2_hero.get_all_heroes():
    print(h)

Note that get_all_heroes() returns a generator.

About

A Python module to read the list of heroes in Dota 2 from Valve's website. Does not require an API key.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published