Skip to content

Instantly share code, notes, and snippets.

@adrianmcli
Created July 21, 2016 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianmcli/fdc62b6d78f0e19df97964300497441a to your computer and use it in GitHub Desktop.
Save adrianmcli/fdc62b6d78f0e19df97964300497441a to your computer and use it in GitHub Desktop.
example output from api
{
"result": {
"status": 1,
"matches": [
{
"players": [
{
"account_id": 4294967295,
"player_slot": 0,
"hero_id": 11,
"item_0": 46,
"item_1": 36,
"item_2": 116,
"item_3": 41,
"item_4": 63,
"item_5": 152,
"kills": 2,
"deaths": 10,
"assists": 8,
"leaver_status": 0,
"last_hits": 187,
"denies": 8,
"gold_per_min": 328,
"xp_per_min": 334,
"level": 17,
"gold": 2712,
"gold_spent": 11360,
"hero_damage": 11012,
"tower_damage": 400,
"hero_healing": 0,
"ability_upgrades": [
{
"ability": 5062,
"time": 303,
"level": 1
}
]
}
],
"radiant_win": false,
"duration": 2958,
"pre_game_duration": 0,
"start_time": 1455378700,
"match_id": 2149500561,
"match_seq_num": 1887815056,
"tower_status_radiant": 0,
"tower_status_dire": 2036,
"barracks_status_radiant": 0,
"barracks_status_dire": 63,
"cluster": 145,
"first_blood_time": 4,
"lobby_type": 7,
"human_players": 10,
"leagueid": 0,
"positive_votes": 0,
"negative_votes": 0,
"game_mode": 22,
"flags": 1,
"engine": 1,
"radiant_score": 0,
"dire_score": 0
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment