mirror of
https://github.com/jlengrand/dotaClient.git
synced 2026-03-10 08:11:18 +00:00
33 lines
909 B
HTTP
33 lines
909 B
HTTP
## HeroesApi
|
|
|
|
### GET /heroes
|
|
# @name heroesGet
|
|
GET http://api.opendota.com/api/heroes
|
|
|
|
|
|
> {%
|
|
client.test("Request executed successfully", function() {
|
|
client.assert(response.body.length == 123, "DOTA 2 currently has 123 heroes");
|
|
});
|
|
%}
|
|
|
|
### GET /heroes/{hero_id}/durations
|
|
# @name heroesHeroIdDurationsGet
|
|
GET http://api.opendota.com/api/heroes/{{hero_id}}/durations
|
|
|
|
### GET /heroes/{hero_id}/itemPopularity
|
|
# @name heroesHeroIdItemPopularityGet
|
|
GET http://api.opendota.com/api/heroes/{{hero_id}}/itemPopularity
|
|
|
|
### GET /heroes/{hero_id}/matches
|
|
# @name heroesHeroIdMatchesGet
|
|
GET http://api.opendota.com/api/heroes/{{hero_id}}/matches
|
|
|
|
### GET /heroes/{hero_id}/matchups
|
|
# @name heroesHeroIdMatchupsGet
|
|
GET http://api.opendota.com/api/heroes/{{hero_id}}/matchups
|
|
|
|
### GET /heroes/{hero_id}/players
|
|
# @name heroesHeroIdPlayersGet
|
|
GET http://api.opendota.com/api/heroes/{{hero_id}}/players
|