Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…ub.io into pr/dota-coach/1129-1

# Conflicts:
#	pages/api/live-game-data/supported-games/dota-2.mdx
  • Loading branch information
benjokoren-ow committed Jun 6, 2024
2 parents dd60805 + 5b0bfad commit 736df33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/api/live-game-data/supported-games/dota-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ Player object structure:
* 2 – Radiant
* 3 – Dire
* 0 – Not in a team
* “heroId” – <a href="https://github.com/kronusme/dota2-api/blob/master/data/heroes.json" target="_blank">Heroes IDs</a> (0 if still not picked)
* “heroId” – <a href="https://dotacoach.gg/heroes/stats" target="_blank">Heroes IDs</a> (0 if still not picked)
* "role" - role type.
(1 - Safelane, 2 - Offlane, 4 - Midlane, 8 - Other, 16 - HardSupport, 888\any other number - Can be received during bot matchups and should be ignored)
* "index" - player slot (int 0-9)
Expand All @@ -838,7 +838,7 @@ Data Example:

Bans object structure:

* “heroId” – <a href="https://github.com/kronusme/dota2-api/blob/master/data/heroes.json" target="_blank">Heroes IDs</a> (0 if still not picked)
* “heroId” – <a href="https://dotacoach.gg/heroes/stats" target="_blank">Heroes IDs</a> (0 if still not picked)
* “teamId”
* 2 – Radiant
* 3 – Dire
Expand All @@ -854,7 +854,7 @@ Data Example:

Draft object structure:

* “heroId” – <a href="https://github.com/kronusme/dota2-api/blob/master/data/heroes.json" target="_blank">Heroes IDs</a> (0 if still not picked)
* “heroId” – <a href="https://dotacoach.gg/heroes/stats" target="_blank">Heroes IDs</a> (0 if still not picked)
* “teamId”
* 2 – Radiant
* 3 – Dire
Expand Down Expand Up @@ -898,7 +898,7 @@ hero_pool | game_info |The numerical ids of heroes that are available for picki

This data is available only in "Single Draft" & "Random Draft" modes in Dota.

You can find the Hero ID's in the following <a href="https://github.com/kronusme/dota2-api/blob/master/data/heroes.json" target="_blank">link</a>
You can find the Hero ID's in the following <a href="https://dotacoach.gg/heroes/stats" target="_blank">link</a>

Data Example:

Expand Down

0 comments on commit 736df33

Please sign in to comment.