Difference between revisions of "WebAPI/GetTeamInfoByTeamID"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "== URL == <nowiki>GET http://api.steampowered.com/IDOTA2Match_<ID>/GetTeamInfoByTeamID/v1</nowiki> == Method-specific parameters == ;{{API optional|start_at_team_id}} ''(uint64)...")
 
 
Line 28: Line 28:
 
<references/>
 
<references/>
  
{{Languages|WebAPI/GetTeamInfoByTeamID}}
 
 
[[Category:WebAPI|GetTeamInfoByTeamID]]
 
[[Category:WebAPI|GetTeamInfoByTeamID]]

Latest revision as of 04:21, 21 October 2014

URL

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

Method-specific parameters

start_at_team_id (Optional) (uint64)
The team id to start returning results from.
teams_requested (Optional) (uint32)
The amount of teams to return.

Result data

result
status
1 - Success
8 - 'teams_requested' must be greater than 0.
statusDetail
A message explaining the status, should status not be 1.
teams
A list of teams.
team_id
The team's unique id.
name
The team's name.
tag
The team's tag.
time_created
Unix timestamp of when the team was created.
rating
logo
The UGC id for the team logo. You can resolve this with the GetUGCFileDetails method.
logo_sponsor
The UGC id for the team sponsor logo. You can resolve this with the GetUGCFileDetails method.
country_code
The team's ISO 3166-1 country-code.
url
The URL the team provided upon creation.
games_played_with_current_roster
Amount of matches played with the current roster
player_N_account_id
32-bit account ID. Where N is incremental from 0 for every player on the team.
admin_account_id
32-bit account ID of the team's admin.