Skip to main content

PyClasher - an object-oriented wrapper client for Python that provides easy access to the requested data

Project description

Discord Last commit

PyClasher

PyClasher

PyClasher is the name of the asynchronous ClashOfClans API. It is an object-oriented wrapper client that provides easy access to the requested data.


I am planning to release the package on pypi.org after my exams. This is probably in the first week of september.

The package is still in development and will be finished as short as possible for me. When the package covers the whole ClashOfClans API, the repository will be transformed into a python package and will be available for everyone.

If you have any questions, feel free to join my discord server to ask your question.

Installation

The package is available on pypi.org. It is possible to install it via the following command:

pip install pyclasher

Documentation

The documentation of this project is available on PyClasher's GitHub pages.

NOTE: The documentation is not fully completed yet. It is still in progress.


Features

  • Asynchronous and parallel requesting
  • Possibility to use multiple tokens and to login via email address and password of the ClashOfClans developer portal
  • Control over the number of requests per second and the number of used tokens
  • Open source
  • Type hinted
  • Supports Python 3.8 -> 3.11

Contributing

Feel free to contribute to the repository.

You can fork the repository and commit your changes in a pull request. Please consider to check out the Discord server if so.

For more information, please see the CONTRIBUTING.md file


Future

I'm planning to keep the API wrapper up to date and improve it as good as I can.

Planned features

  • more bulk requests
  • events

Planned utils

Planned code implementations (ToDo-list)

  • attributes king, queen, warden, royal_champion for the Player.heroes attribute
  • events and an EventClient

If you find a bug, an error or want custom functionality, please tell me via Discord or open an issue or start a discussion on the GitHub-repository.


Disclaimer

This material is unofficial and is not endorsed by Supercell. For more information see Supercell's Fan Content Policy: www.supercell.com/fan-content-policy.

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

pyclasher-1.0.1.tar.gz (61.3 kB view details)

Uploaded Source

Built Distribution

pyclasher-1.0.1-py3-none-any.whl (113.8 kB view details)

Uploaded Python 3

File details

Details for the file pyclasher-1.0.1.tar.gz.

File metadata

  • Download URL: pyclasher-1.0.1.tar.gz
  • Upload date:
  • Size: 61.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pyclasher-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1b03c7fda5f40aa8fb012767c483d3e3df5d43fbb6e452e0dc340c82fc965962
MD5 aab8e446483a794bc669070581df3dfb
BLAKE2b-256 b9cfae23269de0fc49577d61a583df8605d98cd58f54636f097997560ea7ccf3

See more details on using hashes here.

File details

Details for the file pyclasher-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyclasher-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 113.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pyclasher-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9698b11b5aa7ca76d3b75d3231990cf843ea916d427f017faaf72ce3e70045de
MD5 eeb4731f916b2a6523cc3ff04ab24049
BLAKE2b-256 f2ec94bc3845fcdf1ca1b2099d49aed4b925353ecfbf4b1ff7e4ea69f39a7b28

See more details on using hashes here.

Supported by

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