Dota 2 hero grid generator using OpenDotaAPI stats
Project description
ODHeroGrid
Small script that generates a custom Dota 2 Hero Grid layout of heroes sorted by winrate in public or professional games, using stats from OpenDota.
Installation
pip install odherogrid
Usage
odhg [-b, --brackets] BRACKET (default: 7)
Which skill bracket to get winrates from.
<1, herald, h> Herald
<2, guardian, g> Guardian
<3, crusader, c> Crusader
<4, archon, a> Archon
<5, legend, l> Legend
<6, ancient, n> Ancient
<7, divine, d, immortal, i> Divine
<8, pro, p, official, tournaments> Pro
<0, all, A> All
[-g, --grouping] GROUPING (default: 1)
How heroes should be grouped in the grid
<1, mainstat, m, stat, stats> Mainstat
<2, attack, a, melee, range> Attack
<3, role, r> Role
<0, none, n, all, everything> None
[-p, --path] PATH
Specify absolute path of Dota 2 userdata/cfg directory.
(It's usually better to run --setup to configure this path.)
[-s, --sort] (flag)
Sort heroes by winrate in ascending order. (Default: descending).
[-S, --setup] (flag)
Runs first-time setup in order to create a persistent config.
[-h, --help] (flag)
Displays command usage information.
Examples
Use options stored in config. (Runs first-time setup if no config exists)
odhg
The config file will be stored as ~/.odhg/config.yml
It is recommended to create a config rather than using command-line options.
Bracket
Create grid for Herald hero winrates:
odhg --brackets 1
Bracket names can also be used:
odhg --brackets herald
Shorter:
odhg -b 1
odhg -b h
Create grids for Herald, Divine & Pro winrates:
odhg -b 1 -b 7 -b 8
Alternatively:
odhg -b h -b d -b p
Create grids for all brackets:
odhg -b 0
Grouping
Create grids for Divine hero winrates, grouped by Hero roles (Carry/Support/Flex):
odhg -g 3 -b 7
Name of grouping method can also be used:
odhg -g role -b 7
Path
Specify a specific Steam user CFG directory:
odhg --path C:\Program Files (x86)\Steam\userdata\420666\570\remote\cfg
Screenshots
Divine winrate hero grid generated 2019-12-23
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
odherogrid-0.1.1.tar.gz
(11.7 kB
view hashes)
Built Distribution
odherogrid-0.1.1-py3-none-any.whl
(14.4 kB
view hashes)
Close
Hashes for odherogrid-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bc450a59d01bb0cd5ec2724cc63d51002d88d158c5783f1b7cad4198a6b0cea |
|
MD5 | 8d1a62d03d743044d64d8af94f0557dc |
|
BLAKE2b-256 | bd4706a54cd362cda2f347cd5f9cbbe09958f16b04b825fb6bfd71b0b9723492 |