This endpoint is used for gathering single hero data for a player. The following attributes are returned.
{
"game_type": {
"hero": {
"wins": wins,
"losses": losses,
"games_played": games_played,
"win_rate": win_rate,
"mmr":mmr
}
}
}
{warning} All API calls require an
api_token
as part of the query string and are prefixed byhttps://api.heroesprofile.com/api
Method | URI | Headers |
---|---|---|
GET | /Player/Hero/Single?battletag=Zemill%231940®ion=1&game_type=Storm League&hero=Qhira |
Default |
mode: (json or csv)
battletag: (Full battletag) - url encoded
region: (1 = NA, 2 = EU, 3 = KR, 5 = CN)
game_type: Full game type. e.g. Storm League
hero: Full hero name. e.g. Abathur
{
"Quick Match": {
"Abathur": {
"wins": 34,
"losses": 30,
"games_played": 64,
"win_rate": 53.13,
"mmr": 2498.796634292084
}
}
}