These are chat archives for joshuaduffy/dota2api

14th
Apr 2015
Evaldo Bratti
@evaldobratti
Apr 14 2015 17:55
"scoreboard":{
"duration":2335.81787109375,
"roshan_respawn_timer":0,
"radiant":{
"score":19,
"tower_state":1796,
"barracks_state":51,
"picks":[ ... ],
"bans":[ ... ],
"players":[ ... ],
"abilities":[ ... ],
"abilities":[ ... ],
"abilities":[ ... ],
"abilities":[ ... ],
"abilities":[ ... ]
},
this is part of the result of live league games
the problem is "abilities" repeating 5 times (1 per player I think), but they are in same level of object "scoreboard"
when you get json['scoreboard']['abilities'] it only get the last abitilities object
I couldn't find anything yet reporting this issue
https://wiki.teamfortress.com/wiki/WebAPI/GetLiveLeagueGames shows nothing about 'scoreboard' object
it's strange :worried:
Evaldo Bratti
@evaldobratti
Apr 14 2015 18:04
oh god, just found it
it's a bug
well have to hack the json