Crate apex_legends_api

Source

Modules§

data_types

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