Brawlstats

Latest version: v4.1.0

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 10

3.0.0

Added
- Official API support (all endpoints implemented, all methods documented)
- `Forbidden` error raised when code 403 received
- New terminology! "BrawlAPI" refers to the [unofficial API](https://api.brawlapi.cf/v1) while "OfficialAPI" refers to the [official API](https://developer.brawlstars.com)
Changed (BREAKING)
- The unofficial API's client will now be accessed as `brawlstats.BrawlAPI` (from `brawlstats.Client`)
- The unofficial API's models will now be accessed as `brawlstats.brawlapi.ModelName`
- The official API's client will be accessed by `brawlstats.OfficialAPI`
- The official API's models will be accessed by `brawlstats.officialapi.ModelName`
- `get_leaderboard()` will now require "brawlers" for the ranking type and the actual brawler name passed through the brawler kwarg.
- `get_leaderboard()` `count` argument has been renamed to `limit`
Fixed
- BrawlAPI `get_leaderboard` parameter documentation fixed
- Arguments passed into functions that require player/club tags now properly get formatted correctly.

2.3.14

Changed
- Default timeout from 10 to 30
Fixed
- Cache is smaller due to smaller 3 r/s ratelimit (from 5)
- Fixed a bug where `UnexpectedError` did not work due to a typo.

2.3.13

Added
- New brawler 8-Bit

2.3.12

Added
- Player battle logs
- Local leaderboards

2.3.11

Fixed
- Fixed the sync version of the wrapper to not raise a RuntimeWarning due to using `asyncio.sleep()` instead of `time.sleep()`

2.3.10

Added
- New brawler tick

Page 3 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.