Unofficial Clash of Clans API client for Python
Project description
cocpy
Unofficial Python client for the Clash of Clans API.
Install
pip install cocpy
Usage
from cocpy import COCClient
client = COCClient("YOUR_JWT_TOKEN")
player = client.get_player("#2ABC")
print(player["name"])
ver = client.verify_player_token("#2ABC", "one-time-token")
print(ver["status"])
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
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 cocpysdk-0.1.0.tar.gz.
File metadata
- Download URL: cocpysdk-0.1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e296b603e9de417c56e8c2d928a1654949880eda4d9ef228bb0c79e9d0e2ba5c
|
|
| MD5 |
feedeccce3f62f108ec413a7a56229b7
|
|
| BLAKE2b-256 |
1aea4954640d0a6f87f7c268ead04ef24436c89f46576fbc414fd26c55d2d0c5
|
Provenance
The following attestation bundles were made for cocpysdk-0.1.0.tar.gz:
Publisher:
python-publish.yml on twofacednine380/cocpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cocpysdk-0.1.0.tar.gz -
Subject digest:
e296b603e9de417c56e8c2d928a1654949880eda4d9ef228bb0c79e9d0e2ba5c - Sigstore transparency entry: 652669417
- Sigstore integration time:
-
Permalink:
twofacednine380/cocpy@a19a3855bb95474a96efc1767820890cf6a8fa59 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/twofacednine380
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a19a3855bb95474a96efc1767820890cf6a8fa59 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cocpysdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cocpysdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef5d527dae20b88428ec9d55f5ca299b1fdc20ef97588280c57481d473adcd33
|
|
| MD5 |
8e580e35bf5e1c32934adf8a0ebb26a9
|
|
| BLAKE2b-256 |
7541cc7e10bea4f6a42e36dd28773a686677771349ca0f147ec3430fccb30de9
|
Provenance
The following attestation bundles were made for cocpysdk-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on twofacednine380/cocpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cocpysdk-0.1.0-py3-none-any.whl -
Subject digest:
ef5d527dae20b88428ec9d55f5ca299b1fdc20ef97588280c57481d473adcd33 - Sigstore transparency entry: 652669435
- Sigstore integration time:
-
Permalink:
twofacednine380/cocpy@a19a3855bb95474a96efc1767820890cf6a8fa59 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/twofacednine380
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a19a3855bb95474a96efc1767820890cf6a8fa59 -
Trigger Event:
release
-
Statement type: