Difference between revisions of "WebAPI/GetLeagueListing"

From Team Fortress Wiki
Jump to: navigation, search
(Git some league.)
 
('''Main article about WebAPI.''')
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''Main article about [[WebAPI]].'''
 
== URL ==
 
== URL ==
<nowiki>http://api.steampowered.com/IDOTA2Match_<ID>/GetLeagueListing/v0001/</nowiki>
+
<nowiki>GET http://api.steampowered.com/IDOTA2Match_<ID>/GetLeagueListing/v1/</nowiki>
 
 
Supported IDs: 570, 205790.
 
  
 
== 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.
  
Line 19: Line 18:
 
<references/>
 
<references/>
  
{{Languages|WebAPI/GetLeagueListing}}
 
 
[[Category:WebAPI|GetLeagueListing]]
 
[[Category:WebAPI|GetLeagueListing]]

Latest revision as of 20:14, 18 December 2021

Main article about WebAPI.

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