Difference between revisions of "WebAPI/GetLeagueListing"

From Team Fortress Wiki
Jump to: navigation, search
m (IDOTA2Match_<id> is now supported on 816.)
m (Method-specific Parameters: parameter type)
Line 3: Line 3:
  
 
== Method-specific Parameters ==
 
== Method-specific Parameters ==
;{{API optional|language}}
+
;{{API optional|language}} ''(string)''
 
:The [[Wikipedia:List of ISO 639-1 codes|ISO639-1 language code]] for the language all tokenized strings should be returned in. Not all strings have been translated to every language. If a language does not have a string, the English string will be returned instead.  If this parameter is omitted the string token will be returned for the strings.
 
:The [[Wikipedia:List of ISO 639-1 codes|ISO639-1 language code]] for the language all tokenized strings should be returned in. Not all strings have been translated to every language. If a language does not have a string, the English string will be returned instead.  If this parameter is omitted the string token will be returned for the strings.
  

Revision as of 20:13, 8 May 2013

URL

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

Method-specific Parameters

language (Optional) (string)
The ISO639-1 language code for the language all tokenized strings should be returned in. Not all strings have been translated to every language. If a language does not have a string, the English string will be returned instead. If this parameter is omitted the string token will be returned for the strings.

Result Data

result
leagues
A list of leagues supported in-game via DotaTV.
name
The name of the league.
leagueid
The league's unique ID.
description
A description of the league.
tournament_url
The league's website.

Notes