Clash Royale API wrapper for Python 3
Project description
pyroyale – Clash Royale API wrapper
This is a tool for data from the official ClashRoyale developer API. See https://developer.clashroyale.com to sign up for a developer account and create an API key to use with this.
Work in Progress
You probably shouldn’t use this yet. It’s very much a work in progress. It’s also an incomplete implementation at this time. I’ve only implemented the few API endpoints required for crtools, which are:
/v1/clans/{clan_tag}
/v1/clans/{clan_tag}/warlog
/v1/clans/{clan_tag}/currentwar
I plan on implementing the entire API eventually, but it’s not present at this time.
Integration tests
If you wish to work on this project, and run integration tests whenever you run make test or python3 setup.py test, you need to create a file called .crtools in your home folder (must resolve as ~/.crtools), and it must contain the following:
[API]
api_key=<YOUR-API-KEY>
The API key can be acquired at https://developer.clashroyale.com
Note that the key is limited to a specific list of public IP addresses. This is why integration tests aren’t done on Travis – we need a static IP.
Development links
This project uses SonarQube for static analysis. The results of analysis are at SonarCloud. The code quality and test coverage are a work in progress.
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
Hashes for pyroyale-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a2f9eadf038a2550f288e56f22a0c4140a55b66cba1608d043e89b8e7258e0 |
|
MD5 | 4278cd914602519785002935a9e2466b |
|
BLAKE2b-256 | 28193a204b218df684e570acfb54557ee07859894464f4f2128f5fc786d8f952 |