View source: R/get_puuid_from_riotId.R
get_puuid_from_riotId | R Documentation |
Given the secondary key, a RiotID, return the PUUID of a player. Wraps the GET_getByRiotId api method.
get_puuid_from_riotId( gameName, server = "americas", tagLine, format = "parsed", ... )
gameName |
a character, string for gameName |
server |
a character, must be one of americas,europe,sea or asia,apac |
tagLine |
a character, string for tagLine |
format |
a character, format of the output, must be: parsed - as a vector of only the puuid text - as the original json from the API request |
... |
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 1000 requests every 1 minutes - Developer Key 1000 requests every 1 minutes - Production Key
depending on the format chosen return the information for the PUUID When encountering a status code different from 200 the output is NA
## Not run: lorR::get_puuid_from_riotId(gameName = "MaouLegna",tagLine = "STAT") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.