Skip to content
Michal Mikulec edited this page Feb 12, 2022 · 12 revisions

.load_only_level()

Loads and returns only the level of the player, nothing else

.is_currently_online()

Checks if the given Player is currently online/away/dnd and/or in game and returns that information

.load_playtime()

Loads the Player.pvp_time_played, Player.pve_time_played and Player.time_played
(Also returns these values)

.load_general()

Loads these values into the Player object:

Stat Stat
.deaths .kills
.kill_assists .penetration_kills
.matches_won .bullets_hit
.melee_kills .matches_played
.revives .headshots
.matches_lost .dbno_assists
.suicides .barricades_deployed
.reinforcements_deployed .total_xp
.rappel_breaches .distance_travelled
.revives_denied .dbnos
.gadgets_destroyed .blind_kills

NOTE: .distance_travelled Could be overflown, so if you see a funny number send a thank you letter to Ubi

.load_level()

Loads level and alpha pack percentage into the Player object

.load_casual(self, region='emea', season=-1, data=None)

Loads and returns the casual Rank object for the specified region and season (-1 = latest season)

Valid region names are emea, ncsa & apac

.load_rank(self, region='emea', season=-1, data=None)

Loads and returns the ranked Rank object for the specified region and season (-1 = latest season)

Valid region names are emea, ncsa & apac

.load_gamemodes()

Loads Gamemode objects into the current Player

Gamemode Player.
Ranked .ranked
Casual .casual
T Hunt .thunt

.load_weapon_types()

Loads Weapon type stats into Player.weapons

Weapon types
Assault Rifle Submachine Gun
Light Machine Gun Marksman Rifle
Handgun Shotgun
Machine Pistol -

Loads these values:

attr ?
.kills
.headshots
.shots bullets fired
.hits bullets connected

.load_all_operators()

Loads all the available operators' statistics inside the Operator class and also returns them
Dict keys are lowercase operator names

.load_trends(block_duration=TrendBlockDuration.WEEKLY)

Returns and loads (into Player.trends) Trends data
TrendBlockDuration can be .MONTHLY / .WEEKLY / .DAILY

.load_everything()

As the name suggests, loads everything in one call