View source: R/lor_leaderboard.R
lor_leaderboard | R Documentation |
Return the leaderboard of Master players Wraps the leaderboard api method. The leaderboard is updated once an hour.
lor_leaderboard(server, names = FALSE, ...)
server, |
a character, must be one of americas,europe,sea or asia,apac |
names |
a logical, is TRUE return only the a vector of players names. |
... |
additional paramter for RETRY function, at the moment are timeout, times, pause_base, pause_cap, pause_min, |
Standard RATE LIMITS 20 requests every 1 seconds(s) / 100 requests every 2 minutes(s) - Developer Key 500 requests every 10 seconds / 30,000 requests every 10 minutes - Production Key
Method RATE LIMITS X-Method-Rate-Limit": "30:10,500:600 - Developer Key X-Method-Rate-Limit": "500:10,30000:600 - Production Key
a data frame n x3 with n equal to the number of current Master players name - gameName of the player rank - rank on the leaderboard starting from 0 to n-1 lp - League Points of a player
## Not run: # lor_leaderboard("europe",names = TRUE) # lor_leaderboard("americas") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.