Skip to content

Operators V2

Michal Mikulec edited this page Apr 6, 2022 · 4 revisions

class siegeapi.Operators()

Attributes

  • all OperatorsGameMode
  • casual OperatorsGameMode
  • ranked OperatorsGameMode
  • unranked OperatorsGameMode
  • newcomer OperatorsGameMode (Added in v2.0.3)

Methods

  • 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


class siegeapi.OperatorsGameMode()

Attributes

  • attacker list[Operator]
  • defender list[Operator]

class siegeapi.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
  • health int
  • armor int
  • unit int
  • country_code int
  • year_introduced int
  • icon_url int ⇒ Imgur URL