(A)sync python wrapper for the Brawl Stars API
invalid_chars
attribute for NotFoundError
when applicableurl
attribute for all errors that have requested a URLstr(error)
will return the message attribute of the error.error
attribute for all errors have been renamed to message
get_leaderboard
split up into get_player_leaderboard
, get_club_leaderboard
, and get_brawler_leaderboard
get_rankings
split up into get_player_rankings
, get_club_rankings
, and get_brawler_rankings
Forbidden
error raised when code 403 receivedbrawlstats.BrawlAPI
(from brawlstats.Client
)brawlstats.brawlapi.ModelName
brawlstats.OfficialAPI
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
get_leaderboard
parameter documentation fixed