Description Usage Arguments Details Examples
View source: R/aoe2_leaderboard.r
This function gives you a list object with the current leaderboard standing. The list contains $total, $leaderboard_id, $start, $count and most important $leaderboard
1 | aoe2_leaderboard(start = 1, count = 10000, game = "aoe2de", leaderboard_id = 3)
|
start |
Default is 1. Rank at which to start counting down. |
count |
Default is 10'000. Number of players to get from start. Max is 10'000. |
game |
Default is aoe2de since the api is mostly used for that. |
leaderboard_id |
Default is 3 for 1v1 Random Map, 4 is Team Random Map. |
More Information about aoe2.net api at https://aoe2.net/#api
1 2 | #Top5
aoe2_leaderboard(start=1, count=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.