Skip to content

Releases: SharpBit/brawlstats

Make the async client truly async, get_brawlers function

22 Jul 13:27
3135300
Compare
Choose a tag to compare

[4.0.4] - 7/22/20

Added

  • get_brawlers function to get available brawlers

Changed

  • Split BaseBox into BaseBox and BaseBoxList for convenience

Bug fix for python 3.5

17 Apr 17:08
Compare
Choose a tag to compare

[4.0.3] - 4/17/20

Fixed

  • Brawler leaderboards for Python 3.5

Alias for x3vs3_victories

12 Apr 14:59
Compare
Choose a tag to compare

[4.0.1] - 4/12/20

Added

  • An alias for Player.x3vs3_victories called team_victories

Remove Brawl API client and switch to official API

11 Mar 21:04
Compare
Choose a tag to compare

[4.0.0] - 3/11/20

Added

  • reason attribute for NotFoundError

Removed

  • BrawlAPI client

Changed

  • Client.get_datetime moved to utils
  • get_rankings now requires all arguments to be keyword arguments

Fixed

  • Brawler leaderboard now works

Revert a change in v3.0.3

11 Mar 19:55
Compare
Choose a tag to compare

[3.0.4] - 3/8/20

Changed

  • Leaderboard functions reverted to one function for all types of leaderboards/rankings

Logic and performance fixes

17 Feb 16:38
Compare
Choose a tag to compare

[3.0.3] - 2/17/20

Added

  • invalid_chars attribute for NotFoundError when applicable
  • url attribute for all errors that have requested a URL
  • str(error) will return the message attribute of the error.

Changed

  • The error attribute for all errors have been renamed to message
  • For BrawlAPI: get_leaderboard split up into get_player_leaderboard, get_club_leaderboard, and get_brawler_leaderboard
  • For the official API: get_rankings split up into get_player_rankings, get_club_rankings, and get_brawler_rankings

Fix a leaderboard bug

22 Dec 23:02
Compare
Choose a tag to compare

[3.0.2] - 12/22/19

Fixed

  • A bug with brawler leaderboards for the BrawlAPI

Official API support

22 Sep 11:31
Compare
Choose a tag to compare

[3.0.0] - 9/22/19

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 while "OfficialAPI" refers to the official API

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.

Bug Fixes

14 Sep 13:22
Compare
Choose a tag to compare

[2.3.14] - 9/14/19

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.

New brawler 8-bit

29 Aug 15:21
Compare
Choose a tag to compare

[2.3.13] - 8/29/19

Added

  • New brawler 8-Bit