get_puuid_from_riotId: Recover the PUUID from a riotID

View source: R/get_puuid_from_riotId.R

get_puuid_from_riotIdR Documentation

Recover the PUUID from a riotID

Description

Given the secondary key, a RiotID, return the PUUID of a player. Wraps the GET_getByRiotId api method.

Usage

get_puuid_from_riotId(
  gameName,
  server = "americas",
  tagLine,
  format = "parsed",
  ...
)

Arguments

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,

Details

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

Value

depending on the format chosen return the information for the PUUID When encountering a status code different from 200 the output is NA

Examples

## Not run: 
lorR::get_puuid_from_riotId(gameName = "MaouLegna",tagLine = "STAT")

## End(Not run)

MaouLegna/lorR documentation built on Nov. 21, 2022, 8:58 a.m.