DataTracker Class Documentation

class apex_legends_api.al_domain.DataTracker(data_trackers_dict: dict)

Data structure for badges

Note:

if the tracker’s rank is not available, and empty dictionary will be used

class TrackerRank(tracker_rank_dict: dict)

Data structure for the rank for the stat being tracked

percent: float

Percentile of rank (lower number is better)

position: int

Position of rank

category: str

Aggregate key for combining ‘specialEvent’ and ‘season’ data with regular data

Note:

Special Event data is the same as regular but has a different key for statistical purposes it makes sense to just drop the ‘specialEvent’ prefix or any ‘season’ suffix

key: str

Unique ‘key’ for the tracker

name: str

Descriptive name of the tracker

tracker_rank

Rank of the stat for this legend

Note:
  • Values are -1 if they were not part of the API query

value: int

Numerical value of the tracker