Skip to content

Gamemodes V2

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

class siegeapi.Gamemodes()

Attributes

  • all Gamemode
  • casual Gamemode
  • ranked Gamemode
  • unranked Gamemode
  • newcomer Gamemode (Added in v2.0.2)

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.Gamemode()

  • 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