Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cocpysdk-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cocpysdk-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for cocpysdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e296b603e9de417c56e8c2d928a1654949880eda4d9ef228bb0c79e9d0e2ba5c
MD5 feedeccce3f62f108ec413a7a56229b7
BLAKE2b-256 1aea4954640d0a6f87f7c268ead04ef24436c89f46576fbc414fd26c55d2d0c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cocpysdk-0.1.0.tar.gz:

Publisher: python-publish.yml on twofacednine380/cocpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cocpysdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef5d527dae20b88428ec9d55f5ca299b1fdc20ef97588280c57481d473adcd33
MD5 8e580e35bf5e1c32934adf8a0ebb26a9
BLAKE2b-256 7541cc7e10bea4f6a42e36dd28773a686677771349ca0f147ec3430fccb30de9

See more details on using hashes here.

Provenance

The following attestation bundles were made for cocpysdk-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on twofacednine380/cocpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page