Skip to main content

Clash Royale Python 👑

CI Status Documentation Test coverage percentage

uv Ruff ty pre-commit

PyPi Status pyversions license


A friendly, fully-typed Python wrapper around the Clash Royale API.


Cooked by Guillaume Coussot 👨‍🍳

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)

Source distribution for clash-royale-python 0.2.2
File Size Uploaded
clash_royale_python-0.2.2.tar.gz 623.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for clash-royale-python 0.2.2
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page