Results 335 comments of Howard Chung

You can use this list that has about 1000 pro players and their IDs: https://api.opendota.com/api/proPlayers GetTopLiveGame doesn't appear to have the match ID as one of the fields. How are...

Sounds good. Did you want to port your existing code to JavaScript and run it as a new service? You can store the resulting data in Redis since it doesn't...

There'd be three main steps: * Add a new service that polls these endpoints, when it finds a match with a pro player on the list, write the data on...

Implemented the data endpoint in: https://github.com/odota/core/pull/1543 That's basically steps 1 and 2 listed above. Once it's deployed anyone who's interested can start working on the UI https://api.opendota.com/api/live

The list is based on: http://www.dota2.com/webapi/IDOTA2Fantasy/GetProPlayerList/v001 You can mutate it by modifying: https://github.com/odota/core/blob/master/svc/proplayers.js However if we want to add additional custom data we should find a better long term solution.

Sure! I did some work on this before but haven't shipped it. I wanted to have links open directly to that game in the Dota client, but it didn't work...

see https://github.com/odota/web/pull/1517

It doesn't work, but the idea is to have that link launch the Dota client and immediately start spectating that game.

Yeah, that data currently isn't being sent down, but it could be (see the commented out code): https://github.com/odota/core/blob/master/svc/livegames.js

Sure, feel free to make a PR there as well if you want to add the additional data