View source: R/lor_match_list.R
lor_match_list | R Documentation |
Given a server amd primary key, a PUUID, return the Match History of a player (max 20) Wraps the GET_getMatchIdsByPUUID api method.
lor_match_list( server, puuid, format = "parsed", maxPause = 10, wait = T, verbose = T, ... )
server, |
a character, must be one of americas,europe,sea or asia,apac |
puuid |
a character, string for PUUID, a string of 42char like RGAPI-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX |
format |
a character, format of the output, must be: parsed: vector of games tbl: wide tibble of n games rows text: as the original json from the API request |
maxPause |
a numeric, in case of a call with status 429, what's the max wait it can take? default is 10s. With a developer key 120 is the suggested. |
wait |
a logical, if TRUE (the default), if the pause is of less or equal to 10s it waits and repeat the call once |
verbose |
should be function be verbose and print messages |
... |
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 200:3600 - 200 requests every 1 hours - Developer Key 30:10 - 30 requests every 10 seconds - Production Key (not fixed ratio for all Production Keys)
a tibble, contains three variables:
match_id a character,
puuid a character, string for PUUID, a string of 42char like RGAPI-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
server a character, should be one of "americas", "asia", "europe"
## Not run: server <- "europe" puuid <- "kJKtE_3i_66edP3lUYSW3wOVxIl5sRKFhsF6IpNIX_RQxYmyBZxG94gNuR4dUe-ofBq_zy5Yll_gSw" lor_match_list(server=server,puuid=puuid) lor_match_list(server=server,puuid=puuid,format="text") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.