RealtimeInfo

class apex_legends_api.ALPlayer(basic_player_stats_data: dict, events: Optional[list] = None)

This class encapsulates the player and associated data retrieved from the API calls

Discussion:

The player class is intended as an encapsulated representation of the data from the api.

all_legends: List[apex_legends_api.al_domain.Legend]

List of all legends (and their stats)

events: List[apex_legends_api.al_domain.Event]

List of all matches / events

global_info: apex_legends_api.al_domain.GlobalInfo

Contains all the global info for the player

realtime_info: apex_legends_api.al_domain.RealtimeInfo

Contains the RealtimeInfo for the player

selected_legend: apex_legends_api.al_domain.Legend

Currently Selected Legend

timestamp_last_checked: int

Contains the timestamp (UTC) that the player was created / data loaded