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.
Install supapi using pip
pip install supapiContributions are always welcome!
See contributing.md for ways to get started.
Please adhere to this project's code of conduct. For more info please check the CODE_OF_CONDUCT.md file
If you have any feedback, please reach out to us at this email address.
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.
from supapi.clash import *
player = Player('89YCUV9GY', 'MY_API_KEY')
print(player.name) # Output: THE KILLERfrom supapi.royale import Clan
clan = Clan('PJR0RL', 'MY_API_KEY')
print(clan.location) # Output: Andorrafrom supapi.royale import Cards
card = Cards('MY_API_KEY')
print(card.names) # Output: A list of names of all the cards in Clash Royalefrom supapi.brawl import Player
player = Player('90P9CYCV8', 'MY_API_KEY')
print(player.solo_wins) # Output: 2846from supapi.brawl import Club
club = Club('20C0RLVGC', 'MY_API_KEY')
print(club.all) # Output: A dictionary of data