Description Usage Arguments Details Examples
View source: R/aoe2_player_rating.r
This function gives you data.frame of the player rating if the player has been active in the last 28 days.
1 | aoe2_player_rating(player_id, leaderboard_id = 3, game = "aoe2de")
|
player_id |
Either profile_id or 64 bit steam id. Function takes either value and changes the api call accordingly |
leaderboard_id |
Default is 3 for 1v1 Random Map, 4 is Team Random Map. |
game |
Default is aoe2de since the api is mostly used for that. |
More Information about aoe2.net api at https://aoe2.net/#api
1 2 3 4 | #Rating of GL. TheViper with profile_id
aoe2_player_rating(player_id=196240)
#Rating of GL. TheViper with steam_id
aoe2_player_rating(player_id=76561197984749679)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.