Clash Royale API Wrapper
Project description
AioClashRoyale
Clash Royale API Wrapper
Example usage
from aioclashroyale import AioClashRoyale
from aioclashroyale.client import Token
acr: AioClashRoyale = AioClashRoyale(token=Token.from_env(env_file='.env', key='CLASH_ROYALE_TOKEN'))
async def main() -> None:
await acr.get_player(player_tag='#2YLRGVVC')
if __name__ == '__main__':
asyncio.run(main())
How to setup?
Pip
pip install aioclashroyale
Poetry
poetry add aioclashroyale
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
aioclashroyale-0.1.0.tar.gz
(17.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioclashroyale-0.1.0.tar.gz.
File metadata
- Download URL: aioclashroyale-0.1.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f95232d7e974655556bca38cfadd0b9dbafc5ad1f4772aad2ef29c47ca5c6f25
|
|
| MD5 |
b45eebd4cd68261179fb27ae8082acbe
|
|
| BLAKE2b-256 |
231242f4721bb04261e6a6ba9d82748e3313ff9340c5b00d103b74f0223ef90b
|
File details
Details for the file aioclashroyale-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aioclashroyale-0.1.0-py3-none-any.whl
- Upload date:
- Size: 49.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d9cee7312969fbdf188c8c92310d4a6ce33a649036854d00fb5ac6a063533c5
|
|
| MD5 |
5ac109603344bb949a2b77891494f4f5
|
|
| BLAKE2b-256 |
4028262718a758806f0d6bd1cff569b04ecc072275ea438d91c70d1ccbbdf084
|