- BrawlStats is a sync and async Python API wrapper to fetch statistics from the official Brawl Stars API.
- Python 3.9 or later is required.
- Easy to use with an object oriented design.
- Use the same client for sync and async usage.
- Get a player profile and battlelog.
- Get a club and its members.
- Get the top 200 rankings for players, clubs, or a specific brawler.
- Get information about all the brawlers in the game.
- Get information about the current event rotation!
Install the latest stable build:
pip install brawlstats
Install the development build:
pip install git+https://github.com/SharpBit/brawlstats@development
Documentation is being hosted on Read the Docs.
Examples are in the examples folder.
sync.py
shows you basic sync usageasync.py
shows you basic async usagediscord_cog.py
shows an example Discord Bot cog using discord.py
- If you are currently using this wrapper, please star this repository :)
- If you come across an issue in the wrapper, please create an issue.
- If you need an API key, visit https://developer.brawlstars.com
Special thanks to this project's contributors ❤️
If you want to contribute, whether it be a bug fix or new feature, make sure to follow the contributing guidelines. This project is no longer actively maintained. No new features will be added, only bugfixes and security fixes will be accepted.