BrawlStats is an easy-to-use sync and async Python API wrapperto fetch statistics from the official Brawl Stars API
Project description
Brawl Stats
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.
Features
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!
Installation
Install the latest stable build:
pip install brawlstats
Install the development build:
pip install git+https://github.com/SharpBit/brawlstats@development
Documentation
Documentation is being hosted on Read the Docs.
Examples
Examples are in the examples folder.
sync.py shows you basic sync usage
async.py shows you basic async usage
discord_cog.py shows an example Discord Bot cog using discord.py
Misc
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
Contributing
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file brawlstats-4.2.0.tar.gz
.
File metadata
- Download URL: brawlstats-4.2.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd9be2864cd780b984d153e4db3c060414b1f324eb4e5505cd801321111b74b5 |
|
MD5 | 9b4d094d04d0cbc22bcb98cdb401cd46 |
|
BLAKE2b-256 | 3854347b5aa79f50885b77ee49cff8bfe9a9a5fcfdcb56ee8621ec9a4b656375 |