new92 / 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.

Home Page:https://pypi.org/project/supapi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

supapi πŸš€

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 πŸ“₯

Install supapi using pip

pip install supapi

Authors ✍️

Contributing 🀝

Contributions 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

Feedback πŸ’­

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.

License πŸ“œ

License

Examples 🚩

API keys πŸ”‘

CoC

Clash Royale

Brawl Stars

Documentation πŸ“„

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

About

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.

https://pypi.org/project/supapi/

License:MIT License


Languages

Language:Python 100.0%