Skip to content

Trends V2

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

class siegeapi.Trends()

Attributes

  • all TrendsGameMode
  • casual TrendsGameMode
  • ranked TrendsGameMode
  • unranked TrendsGameMode
  • newcomer TrendsGameMode (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.TrendsGameMode()

Attributes

  • name str
  • all list[TrendBlocks]
  • attacker list[TrendBlocks]
  • defender list[TrendBlocks]

class siegeapi.Weapon()

  • stats_period List[str]
  • matches_played List[int]
  • rounds_played List[int]
  • minutes_played List[int]
  • matches_won List[int]
  • matches_lost List[int]
  • rounds_won List[int]
  • rounds_lost List[int]
  • kills List[int]
  • assists List[int]
  • death List[int]
  • headshots List[int]
  • melee_kills List[int]
  • team_kills List[int]
  • opening_kills List[int]
  • opening_deaths List[int]
  • trades List[int]
  • opening_kill_trades List[int]
  • opening_death_trades List[int]
  • revives List[int]
  • distance_travelled List[int] ⇒ Percentage of rounds
  • win_loss_ratio List[float] ⇒ Percentage of rounds
  • kill_death_ratio List[float] ⇒ Percentage of rounds
  • headshot_accuracy List[float] ⇒ Percentage of rounds
  • kills_per_round List[float] ⇒ Percentage of rounds
  • rounds_with_kill List[float] ⇒ Percentage of rounds
  • rounds_with_multi_kill List[float] ⇒ Percentage of rounds
  • rounds_with_opening_kill List[float] ⇒ Percentage of rounds
  • rounds_with_opening_death List[float] ⇒ Percentage of rounds
  • rounds_with_kost List[float] ⇒ Percentage of rounds
  • rounds_survived List[float] ⇒ Percentage of rounds
  • rounds_with_ace List[float] ⇒ Percentage of rounds
  • rounds_with_clutch List[float] ⇒ Percentage of rounds
  • time_alive_per_match List[float]
  • time_dead_per_match List[float]
  • distance_per_round List[float]