api_call | R Documentation |
This function helps you handling the REST API for the LoR API methods
api_call(server, path, ..., api_key = Sys.getenv("LORAPI_KEY"))
server, |
a character, must be one of americas,europe,sea or asia,apac |
path |
a character, string containing the path of the methods of choice. Please refer to the developer portal |
... |
additional paramter for RETRY function, at the moment are timeout, times, pause_base, pause_cap, pause_min, |
api_key |
a environment variables. |
#' 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
2022-02-20: As a consequences of very long wait and response for Sea I'm testing a different
a response
## Not run: api_call("europe","/lor/ranked/v1/leaderboards/") # not run api_call("europe","/lor/ranked/v1/leaderboards/",timeout(3),times=3,quiet=FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.