Modules§
Constants§
- DEFAULT_
RATE - Default time to wait after a 429 error code
Functions§
- get_
map_ rotation - The map rotation API will return the current and next map for Battle Royale and Arenas, for both pubs and ranked modes. Control map rotation is also available. See https://apexlegendsapi.com/#map-rotation
- get_
map_ rotation_ retry - The map rotation API will return the current and next map for Battle Royale and Arenas, for both pubs and ranked modes. Control map rotation is also available. See https://apexlegendsapi.com/#map-rotation
- get_
recent_ games - Gets information about the recent games. You must be whitelisted to use this API. It has a strict limit of 5 uniques players queried per hour. See https://apexlegendsapi.com/#match-history
- get_
uid_ from_ username - Returns a player’s UID from a given name, but also works with Playstation and Xbox players See https://apexlegendsapi.com/#name-to-uid
- get_
uid_ from_ username_ retry - Returns a player’s UID from a given name, but also works with Playstation and Xbox players See https://apexlegendsapi.com/#name-to-uid
- get_
user - Gets information about a User. This version does not handle code 429 (too many requests) See https://apexlegendsapi.com/#player-statistics
- get_
user_ retry - Gets information about a User. This version automatically retries if the API returns code 429 (too many requests).
For the sleep time it reads the
x-current-rate
header or uses the DEFAULT_RATE See https://apexlegendsapi.com/#player-statistics