Skip to content

Instantly share code, notes, and snippets.

@romovpa
Created March 27, 2017 16:09
Show Gist options
  • Save romovpa/5cbf3999313a83cbce201dd3064249a3 to your computer and use it in GitHub Desktop.
Save romovpa/5cbf3999313a83cbce201dd3064249a3 to your computer and use it in GitHub Desktop.
Sample record from LiveLeagueGames Dota 2 API
{
"players": [
{
"account_id": 292942678,
"name": "FACEIT.com | Toothaquamarine Bot",
"hero_id": 0,
"team": 4
},
{
"account_id": 116375092,
"name": "\u0423\u043a\u0440\u043e\u043f",
"hero_id": 51,
"team": 0
},
{
"account_id": 249287769,
"name": "razvaly kabinu",
"hero_id": 63,
"team": 1
},
{
"account_id": 370520057,
"name": "BaBaDoOk",
"hero_id": 16,
"team": 1
},
{
"account_id": 133031140,
"name": "\u0416\u0435\u0440\u0435\u0431\u0435\u0446",
"hero_id": 50,
"team": 1
},
{
"account_id": 211417743,
"name": "Colossus",
"hero_id": 84,
"team": 0
},
{
"account_id": 379009256,
"name": "sheen\u203a",
"hero_id": 74,
"team": 1
},
{
"account_id": 84284779,
"name": "YAPTICHKA",
"hero_id": 94,
"team": 0
},
{
"account_id": 225999437,
"name": "Bankaraz",
"hero_id": 2,
"team": 1
},
{
"account_id": 169184078,
"name": "Piyavka | csgoloto.com",
"hero_id": 30,
"team": 0
},
{
"account_id": 128765375,
"name": "\u0430\u043d\u0438\u043c\u0435 \u043d\u0430 \u0430\u0432\u0435 - \u043c\u0430\u0442\u044c \u0432 \u043a\u0430\u043d\u0430\u0432\u0435",
"hero_id": 46,
"team": 0
}
],
"radiant_team": {
"team_name": "Digital Madness",
"team_id": 1823444,
"team_logo": 245836530226046069,
"complete": false
},
"dire_team": {
"team_name": "Noxium",
"team_id": 3903991,
"team_logo": 89348167520662871,
"complete": true
},
"lobby_id": 25005608812075316,
"match_id": 3081580163,
"spectators": 3,
"series_id": 0,
"game_number": 0,
"league_id": 4122,
"stream_delay_s": 120,
"radiant_series_wins": 0,
"dire_series_wins": 0,
"series_type": 0,
"league_series_id": 0,
"league_game_id": 0,
"stage_name": "",
"league_tier": 1,
"scoreboard": {
"duration": 2554.8515625,
"roshan_respawn_timer": 0,
"radiant": {
"score": 22,
"tower_state": 1844,
"barracks_state": 63,
"picks": [
{
"hero_id": 84
},
{
"hero_id": 30
},
{
"hero_id": 94
},
{
"hero_id": 46
},
{
"hero_id": 51
}
],
"bans": [
{
"hero_id": 29
},
{
"hero_id": 8
},
{
"hero_id": 54
},
{
"hero_id": 22
},
{
"hero_id": 1
}
],
"players": [
{
"player_slot": 1,
"account_id": 116375092,
"hero_id": 51,
"kills": 8,
"death": 3,
"assists": 10,
"last_hits": 163,
"denies": 57,
"gold": 850,
"level": 23,
"gold_per_min": 394,
"xp_per_min": 551,
"ultimate_state": 1,
"ultimate_cooldown": 6,
"item0": 127,
"item1": 180,
"item2": 102,
"item3": 242,
"item4": 36,
"item5": 108,
"respawn_timer": 0,
"position_x": -1796.9967041015625,
"position_y": 4632.84033203125,
"net_worth": 14790
},
{
"player_slot": 2,
"account_id": 211417743,
"hero_id": 84,
"kills": 3,
"death": 5,
"assists": 12,
"last_hits": 41,
"denies": 0,
"gold": 1848,
"level": 17,
"gold_per_min": 268,
"xp_per_min": 317,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 206,
"item1": 181,
"item2": 102,
"item3": 46,
"item4": 214,
"item5": 40,
"respawn_timer": 0,
"position_x": -1906.984130859375,
"position_y": 4727.34228515625,
"net_worth": 9578
},
{
"player_slot": 3,
"account_id": 84284779,
"hero_id": 94,
"kills": 3,
"death": 7,
"assists": 8,
"last_hits": 370,
"denies": 18,
"gold": 1304,
"level": 24,
"gold_per_min": 546,
"xp_per_min": 609,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 50,
"item1": 166,
"item2": 212,
"item3": 147,
"item4": 160,
"item5": 263,
"respawn_timer": 0,
"position_x": -3012.420166015625,
"position_y": 5262.73828125,
"net_worth": 21904
},
{
"player_slot": 4,
"account_id": 169184078,
"hero_id": 30,
"kills": 3,
"death": 8,
"assists": 10,
"last_hits": 27,
"denies": 12,
"gold": 1146,
"level": 16,
"gold_per_min": 232,
"xp_per_min": 290,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 254,
"item1": 60,
"item2": 180,
"item3": 40,
"item4": 21,
"item5": 46,
"respawn_timer": 0,
"position_x": -1591.8505859375,
"position_y": 4267.6318359375,
"net_worth": 6726
},
{
"player_slot": 5,
"account_id": 128765375,
"hero_id": 46,
"kills": 5,
"death": 7,
"assists": 9,
"last_hits": 150,
"denies": 15,
"gold": 4,
"level": 18,
"gold_per_min": 324,
"xp_per_min": 356,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 212,
"item1": 46,
"item2": 50,
"item3": 168,
"item4": 41,
"item5": 1,
"respawn_timer": 0,
"position_x": -6900,
"position_y": -6425.00390625,
"net_worth": 8689
}
],
"abilities": [
{
"ability_id": 5194,
"ability_level": 4
},
{
"ability_id": 5195,
"ability_level": 4
},
{
"ability_id": 5196,
"ability_level": 4
},
{
"ability_id": 5198,
"ability_level": 1
},
{
"ability_id": 5197,
"ability_level": 3
},
{
"ability_id": 6016,
"ability_level": 1
},
{
"ability_id": 5922,
"ability_level": 1
}
]
},
"dire": {
"score": 30,
"tower_state": 1828,
"barracks_state": 63,
"picks": [
{
"hero_id": 16
},
{
"hero_id": 2
},
{
"hero_id": 50
},
{
"hero_id": 74
},
{
"hero_id": 63
}
],
"bans": [
{
"hero_id": 96
},
{
"hero_id": 28
},
{
"hero_id": 35
},
{
"hero_id": 48
},
{
"hero_id": 41
}
],
"players": [
{
"player_slot": 1,
"account_id": 225999437,
"hero_id": 2,
"kills": 8,
"death": 6,
"assists": 12,
"last_hits": 81,
"denies": 2,
"gold": 1387,
"level": 18,
"gold_per_min": 261,
"xp_per_min": 336,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 1,
"item1": 127,
"item2": 265,
"item3": 125,
"item4": 46,
"item5": 214,
"respawn_timer": 0,
"position_x": -295.52655029296875,
"position_y": 5518.716796875,
"net_worth": 9162
},
{
"player_slot": 2,
"account_id": 370520057,
"hero_id": 16,
"kills": 1,
"death": 7,
"assists": 25,
"last_hits": 45,
"denies": 1,
"gold": 157,
"level": 20,
"gold_per_min": 250,
"xp_per_min": 426,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 244,
"item1": 1,
"item2": 42,
"item3": 102,
"item4": 180,
"item5": 46,
"respawn_timer": 0,
"position_x": -329.2742004394531,
"position_y": 4061.96533203125,
"net_worth": 7797
},
{
"player_slot": 3,
"account_id": 249287769,
"hero_id": 63,
"kills": 9,
"death": 4,
"assists": 4,
"last_hits": 215,
"denies": 9,
"gold": 3754,
"level": 24,
"gold_per_min": 450,
"xp_per_min": 618,
"ultimate_state": 1,
"ultimate_cooldown": 37,
"item0": 166,
"item1": 212,
"item2": 36,
"item3": 123,
"item4": 236,
"item5": 174,
"respawn_timer": 0,
"position_x": -1979.0340576171875,
"position_y": 4756.58984375,
"net_worth": 17954
},
{
"player_slot": 4,
"account_id": 133031140,
"hero_id": 50,
"kills": 8,
"death": 5,
"assists": 11,
"last_hits": 82,
"denies": 2,
"gold": 992,
"level": 19,
"gold_per_min": 279,
"xp_per_min": 367,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 92,
"item1": 180,
"item2": 46,
"item3": 229,
"item4": 102,
"item5": 79,
"respawn_timer": 0,
"position_x": -300.5062561035156,
"position_y": 4486.2255859375,
"net_worth": 10442
},
{
"player_slot": 5,
"account_id": 379009256,
"hero_id": 74,
"kills": 3,
"death": 0,
"assists": 13,
"last_hits": 184,
"denies": 4,
"gold": 341,
"level": 21,
"gold_per_min": 384,
"xp_per_min": 437,
"ultimate_state": 3,
"ultimate_cooldown": 0,
"item0": 108,
"item1": 1,
"item2": 48,
"item3": 65,
"item4": 9,
"item5": 77,
"respawn_timer": 0,
"position_x": 3366.26171875,
"position_y": 439.4602966308594,
"net_worth": 16411
}
],
"abilities": [
{
"ability_id": 5370,
"ability_level": 4
},
{
"ability_id": 5371,
"ability_level": 7
},
{
"ability_id": 5372,
"ability_level": 7
},
{
"ability_id": 5382,
"ability_level": 1
},
{
"ability_id": 5384,
"ability_level": 1
},
{
"ability_id": 5375,
"ability_level": 1
},
{
"ability_id": 5376,
"ability_level": 1
},
{
"ability_id": 5389,
"ability_level": 1
},
{
"ability_id": 5386,
"ability_level": 1
},
{
"ability_id": 5385,
"ability_level": 1
},
{
"ability_id": 5387,
"ability_level": 1
},
{
"ability_id": 5383,
"ability_level": 1
},
{
"ability_id": 5390,
"ability_level": 1
},
{
"ability_id": 5381,
"ability_level": 1
},
{
"ability_id": 5901,
"ability_level": 1
},
{
"ability_id": 6097,
"ability_level": 1
},
{
"ability_id": 6074,
"ability_level": 1
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment