Supapi
supapi is your Python companion for retrieving game data from CoC, Clash Royale, and Brawl Stars. Get player stats, clan info, tournament details, and more, effortlessly integrating game data into your projects.
Install / Use
/learn @new92/SupapiREADME
supapi :rocket:
The supapi Python module is a versatile and powerful tool designed to simplify the process of retrieving comprehensive data about players, clans, cards, tournaments, clubs, and brawlers from three popular mobile games: Clash of Clans (CoC), Clash Royale, and Brawl Stars. This module is your all-in-one solution for accessing and analyzing game-related information, making it an invaluable resource for developers, gamers, and data enthusiasts alike.
Installation :inbox_tray:
Install supapi using pip
pip install supapi
Authors :writing_hand:
Contributing :handshake:
Contributions are always welcome!
See <a href="https://github.com/new92/supapi/blob/main/CONTRIBUTING.md">contributing.md</a> for ways to get started.
Please adhere to this project's code of conduct. For more info please check the <a href="https://github.com/new92/supapi/blob/main/CODE_OF_CONDUCT.md">CODE_OF_CONDUCT.md</a> file
Feedback :thought_balloon:
If you have any feedback, please reach out to us at <a href="mailto:new92github@gmail.com">this email address</a>.
Feel free to contact us anytime ! You'll get a reply within a day. Please avoid using abusive or offensive language. If you are reporting a bug or making a suggestion please make sure your report/suggestion is as much detailed as possible.
License :scroll:
<a href="https://github.com/new92/supapi/tree/main/examples">Examples :triangular_flag_on_post:</a>
API keys :key:
<a href="https://developer.clashofclans.com/#/login">CoC</a>
<a href="https://developer.clashroyale.com/#/login">Clash Royale</a>
<a href="https://developer.brawlstars.com/#/login">Brawl Stars</a>
Documentation :page_facing_up:
Example CoC player info
from supapi.clash import *
player = Player('89YCUV9GY', 'MY_API_KEY')
print(player.name) # Output: THE KILLER
Example Clash Royale clan info
from supapi.royale import Clan
clan = Clan('PJR0RL', 'MY_API_KEY')
print(clan.location) # Output: Andorra
Example Clash Royale cards
from supapi.royale import Cards
card = Cards('MY_API_KEY')
print(card.names) # Output: A list of names of all the cards in Clash Royale
Example Brawl Stars player info
from supapi.brawl import Player
player = Player('90P9CYCV8', 'MY_API_KEY')
print(player.solo_wins) # Output: 2846
Example Brawl Stars club info
from supapi.brawl import Club
club = Club('20C0RLVGC', 'MY_API_KEY')
print(club.all) # Output: A dictionary of data
