-
Notifications
You must be signed in to change notification settings - Fork 5
Operators V4
Michal Mikulec edited this page Aug 29, 2022
·
1 revision
-
all
OperatorsGameMode
-
casual
OperatorsGameMode
-
ranked
OperatorsGameMode
-
unranked
OperatorsGameMode
-
newcomer
OperatorsGameMode
(Added in v2.0.3)
-
get_timespan_dates() -> dict[str: str]
- Gets start & end dates that get returned by the API
- Updated with every call
Returns
{'start_date': '20211205', 'end_date': '20220405'}
Added in v2.1.2
-
attacker
list[Operator]
-
defender
list[Operator]
-
name
str
-
matches_played
int
-
rounds_played
int
-
minutes_played
int
-
matches_won
int
-
matches_lost
int
-
rounds_won
int
-
rounds_lost
int
-
kills
int
-
assists
int
-
death
int
-
headshots
int
-
melee_kills
int
-
team_kills
int
-
opening_kills
int
-
opening_deaths
int
-
trades
int
-
opening_kill_trades
int
-
opening_death_trades
int
-
revives
int
-
distance_travelled
int
-
win_loss_ratio
float
-
kill_death_ratio
float
⇒ Percentage; in % -
headshot_accuracy
float
⇒ Percentage; in % -
kills_per_round
float
⇒ Percentage; in % -
rounds_with_a_kill
float
⇒ Percentage; in % -
rounds_with_multi_kill
float
⇒ Percentage; in % -
rounds_with_opening_kill
float
⇒ Percentage; in % -
rounds_with_opening_death
float
⇒ Percentage; in % -
rounds_with_kost
float
⇒ Percentage; in % -
rounds_survived
float
⇒ Percentage; in % -
rounds_with_an_ace
float
⇒ Percentage; in % -
rounds_with_clutch
float
⇒ Percentage; in % -
time_alive_per_match
float
-
time_dead_per_match
float
-
distance_per_round
float
-
×
icon_urlint
⇒ Imgur URL -
×
real_namestr
⇒ e.g.:Max Goose
-
×
birth_placestr
⇒ e.g.:Azraq, Jordan
-
×
date_of_birthstr
⇒ e.g.:September 6th
-
×
ageint
-
×
roleslist[str]
⇒ e.g.:["Crowd Control", "Intel Gatherer", "Secure"]
-
×
healthint
⇒1
/2
/3
-
×
speedint
⇒1
/2
/3
-
×
hpint
⇒100
/110
/125
(for convenience; directly translates to/from.health
) -
×
unitstr
⇒ e.g.:G.E.O.
-
×
country_codestr
⇒ e.g.:MA
(ISO 3166-1 alpha-2) -
×
season_introducedstr
⇒Y_S_
(for example:Y6S3
for Osa)
×
- Stats that are only there if you set theop_about
toTrue
when calling.load_operators()
Like so:player.load_operators(op_about=True)