Difference between revisions of "WebAPI/GetLiveLeagueGames"

From Team Fortress Wiki
Jump to: navigation, search
m (moved User:RJackson/WebAPI/GetLiveLeagueGames to WebAPI/GetLiveLeagueGames: Page not dun, dunno how to read tower_state bitmask and getting data to test is tough. but mainspacing)
m (Minor tweaks)
Line 1: Line 1:
 
== URL ==
 
== URL ==
 
<nowiki>GET http://api.steampowered.com/IDOTA2Match_<ID>/GetLiveLeagueGames/v1/</nowiki>
 
<nowiki>GET http://api.steampowered.com/IDOTA2Match_<ID>/GetLiveLeagueGames/v1/</nowiki>
 
Supported IDs: 570, 205790.
 
  
 
== Method-specific Parameters ==
 
== Method-specific Parameters ==
Line 38: Line 36:
  
 
== Notes ==
 
== Notes ==
 +
* The interface IDOTA2Match_<ID> does not support app id 816.
 
<references/>
 
<references/>
  
 
{{Languages|WebAPI/GetLiveLeagueGames}}
 
{{Languages|WebAPI/GetLiveLeagueGames}}
 
[[Category:WebAPI|GetLiveLeagueGames]]
 
[[Category:WebAPI|GetLiveLeagueGames]]

Revision as of 17:06, 5 February 2013

URL

GET http://api.steampowered.com/IDOTA2Match_<ID>/GetLiveLeagueGames/v1/

Method-specific Parameters

Result Data

result
games
A list of games in-progress.
players
The list of players within a game.
account_id
32-bit account ID.
name
The player's display name.
hero_id
The hero's unique ID. A list of hero IDs can be found via the GetHeroes method.
team
What team the player is currently playing as.
0 - Radiant
1 - Dire
2 - Broadcaster
4 - Unassigned
radiant_team
Information about the team playing as radiant for this match.
team_name
The team's name.
team_id
The team's unique ID.
team_logo
The UGC id for the team logo. You can resolve this with the GetUGCFileDetails method.
complete
Whether the players for this team are all team members.
dire_team
Information about the team playing as dire for this match.
team_name
The team's name.
team_id
The team's unique ID.
team_logo
The UGC id for the team logo. You can resolve this with the GetUGCFileDetails method.
complete
Whether the players for this team are all team members.
lobby_id
Unique ID for the matches lobby.
spectators
Number of spectators at time of query.
tower_state
See #Tower state below.
league_id
Unique ID for the league of the match being played. A list of league IDs can be found via the GetLeagueListing method.

Tower state

It is not yet known how the tower state bitmask breaks down.

Notes

  • The interface IDOTA2Match_<ID> does not support app id 816.