Clash Royale Python 👑
Installation
The package is published on PyPI and can be installed by running:
pip install clash-royale-python
Basic Use
Easily query the Clash Royale API from your Python code. The data returned by the API is mapped to fully-typed Python models:
import clash_royale
client = clash_royale.Client(api_key="your-api-key")
# Get a player by tag
player = client.players.get("#ABC123")
print(player.name)
# Get a clan and its members
clan = client.clans.get("#XYZ789")
for member in client.clans.get_members("#XYZ789"):
print(member.name)
# Search for clans
results = client.clans.search(name="Royal")
for clan in results:
print(clan.name)
Ready for more? Check out the full documentation.
Metadata
Release files for clash-royale-python 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clash_royale_python-0.2.2.tar.gz | 623.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clash_royale_python-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 658.4 kB
Release files / clash_royale_python-0.2.2.tar.gz
| Download URL | clash_royale_python-0.2.2.tar.gz |
|---|---|
| Size | 623.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa99a2459c8b6a8bac2652ae4ab8e6b902b1715d371adcf09d09d093a2e6ee58
|
|
BLAKE2b-256 checksum How to use checksums |
788b960a87ced77b4962ff58746a33f213ec00e83dce6aab3a86f41b56785f41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 10, 2026.
Transparency logRelease files / clash_royale_python-0.2.2-py3-none-any.whl
| Download URL | clash_royale_python-0.2.2-py3-none-any.whl |
|---|---|
| Size | 34.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a375e935964af93e295cb28f65240affc2df361ad135d7ff971d935b0aba6c25
|
|
BLAKE2b-256 checksum How to use checksums |
f5b446d7cc852609eee6316048c6cf82257eed404aabfe68b1f1c18aee5e9b59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 10, 2026.
Transparency log