get_team_info_by_team_id {RDota2} | R Documentation |
Team Information
Description
Team information from team id.
Usage
get_team_info_by_team_id(start_at_team_id = NULL, teams_requested = NULL,
dota_id = 570, language = "en", key = NULL)
Arguments
start_at_team_id |
(optional) Team id to start returning results from . |
teams_requested |
(optional) The number of teams to return. |
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
|
Details
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 the teams list of which each element is a team. For each team different information is provided. Usually the following are included:
-
name: Team's name.
-
tag: The team's tag.
-
time_created: Unix timestamp of when the team was created.
-
calibration_games_remaining: : Undocumented (possibly number of games until a ranking score can be dedided).
-
logo: The UGC id for the team logo.
-
logo_sponsor: The UGC id for the team sponsor logo.
-
country_code: The team's ISO 3166-1 country-code.
-
url: Team's url which they provided.
-
games_played: Number of games played.
-
player_*_account_id: Player's account id. Will be as many columns as players.
-
admin_account_id: Team's admin id.
-
league_id_*: Undocumented (Probably leagues they participated in). Will be as many columns as leagues.
-
series_type: Series type.
-
league_series_id: The league series id.
-
league_game_id: The league game id.
-
stage_name: The name of the stage.
-
league_tier: League tier.
-
scoreboard: A huge list containing scoreboard information.
Value
A dota_api object containing the elements described in the details.
Steam API Documentation
https://wiki.teamfortress.com/wiki/WebAPI/GetTeamInfoByTeamID
Examples
## Not run:
get_team_info_by_team_id()
get_team_info_by_team_id(teams_requested = 10)
get_team_info_by_team_id(language = 'en', key = NULL)
get_team_info_by_team_id(language = 'en', key = 'xxxxxxxxxxx')
## End(Not run)