Description Usage Arguments Value Examples
View source: R/csgo_api_profile.R
This function will return the CS Go Profile of the user_id (input).
1 | csgo_api_profile(api_key, user_id, name = FALSE)
|
api_key |
string with the key provided by the steam API. PS: If you don't have a API key yet run |
user_id |
string OR list with the steam user ID. Steam ID is the NUMBER OR NAME at the end of your steam profile URL. ex: '76561198263364899'. PS: The user should have a public status. |
name |
logical: if the user_id input is a name change it for TRUE. ex: 'kevinarndt'. PS: The query by name DOES NOT ALLOW a list of user_id. |
data frame with all the CS Go friends of the user ID.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
## It is necessary to fill the "api_key" parameter to run the example
df_profile <- csgo_api_profile(api_key = 'XXX', user_id = '76561198263364899')
df_profile <- csgo_api_profile(
api_key = 'XXX',
user_id = list('76561198263364899','76561197996007619')
)
df_profile <- csgo_api_profile(api_key = 'XXX', user_id = 'kevinarndt', name = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.