Description Usage Arguments Details Value Steam API Documentation Examples
Tournament Player Stats.
1 2 |
account_id |
Player's account id. |
league_id |
(optional) The league id. Only the International is supported (65006). |
hero_id |
(optional) A hero id. |
time_frame |
(optional) Only return stats between this time frame (The parameter format is not yet known i.e. it is not in use just yet according to the API's documentation). |
dota_id |
Can take one of three values.
|
language |
The ISO639-1 language code for returning all the information in the corresponding language. If the language is not supported, english will be returned. For a complete list of the ISO639-1 language codes please visit https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes. |
key |
The api key obtained from Steam. If you don't have one please visit
https://steamcommunity.com/dev in order to do so. For instructions on the correct way
to use this key please visit https://github.com/LyzandeR/RDota2 and check the readme file.
You can also see the examples. A key can be made available to all the functions by using
|
A list will be returned that contains three elements. The content, the url and the response received from the api.
The content element of the list contains information about the matches the player played and information about global stats.
A dota_api object containing the elements described in the details.
https://wiki.teamfortress.com/wiki/WebAPI/GetTournamentPlayerStats
1 2 3 4 | ## Not run:
get_tournament_player_stats(account_id = 89550641, league_id = 65006)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.