Skip to content

Releases: CNDRD/siegeapi

v4.0.0

29 Aug 18:58
f84f759
Compare
Choose a tag to compare

Changed operators .armor to .speed & .year_introduced to .season_introduced
They still hold the same information, name just reflects it better now
https://github.com/CNDRD/siegeapi/wiki/Operators-V4

Removed Gamemodes since Ubi did too..

Added a role layer to weapons
https://github.com/CNDRD/siegeapi/wiki/Weapons-V4

Other than these three, all other changes have thankfully been only internal 🙏 🙏 🙏

You can see everything changed in #6

v3.0.2

20 Apr 20:22
Compare
Choose a tag to compare

fix rank bugs when rank data is missing

v3.0.0

20 Apr 17:06
Compare
Choose a tag to compare

Seasonal Stats rework

Added new .load_skill_records(seasons: list[int], boards: list[str], regions: list[str]) method
All attributes default to values that return the most data (all seasons, regions and boards)

global value is not None after season Y5S2 (Steel Wave)

Player.ranks, Player.casuals, Player.newcomers, Player.events & Player.deathmatch
now all look like this:

# Assuming we only loaded these two seasons (seasons=[6,25])
ranks = {
    6: {
        "emea": 'Rank object',
        "apac": None,
        "ncsa": None,
        "global": None,
    },
    25: {
        "emea": 'Rank object',
        "apac": 'Rank object',
        "ncsa": 'Rank object',
        "global": 'Rank object',
    }
}

v2.2.1

10 Apr 01:17
Compare
Choose a tag to compare

I did the funny with the regex that was testing the date and it broke today 🤡

v2.2.0

07 Apr 19:24
Compare
Choose a tag to compare

more personal info about operators
added a toggle for this new data

Usage

await player.load_operators(op_about=True)

op_about=True adds this info:

  • real_name = Real Name
  • birth_place = Birthplace
  • date_of_birth = Date of birth (day and month)
  • age = Age
  • roles = Roles (list)
  • health = Health (1-3)
  • armor = Armor (1-3)
  • hp = Operators' HP (Since Crystal Guard)
  • unit = Unit
  • country_code = Country Code (two letter representation of their country)
  • year_introduced = E.g.: Y5S3

v2.1.2

06 Apr 12:44
Compare
Choose a tag to compare

added ,get_timespan_dates() to every class that supports it (Gamemodes, Operators, Maps, Trends, Weapons)

Example

await player.load_gamemodes()
print(player.gamemodes.get_timespan_dates())

Output

{'start_date': '20211205', 'end_date': '20220405'}

v2.1.0

01 Apr 15:29
Compare
Choose a tag to compare

add .set_timespan_dates() to Player class
allows you to set start and end dates for getting time constrained data

v2.0.7

01 Apr 15:24
Compare
Choose a tag to compare

fix missing operator errors
fix "No Class" operator

v2.0.6

26 Mar 21:20
Compare
Choose a tag to compare

added seasonal deathmatch data

v2.0.5

21 Mar 16:39
Compare
Choose a tag to compare
v++