Pythonic wrapper for the undocumented CodinGame API.
Project description
Pythonic wrapper for the undocumented CodinGame API.
Installation
Python 3.8 or higher is required.
Install codingame with pip:
pip install codingame
Quickstart
Create an application, in example.py:
import codingame
client = codingame.Client()
# get a codingamer
codingamer = client.get_codingamer("username")
print(codingamer.pseudo)
# get the global leaderboard
global_leaderboard = client.get_global_leaderboard()
# print the pseudo of the top codingamer
print(global_leaderboard.users[0].pseudo)
See the docs.
Contribute
Support
If you are having issues, please let me know by joining the discord support server at https://discord.gg/8HgtN6E
License
The project is licensed under the MIT license.
Links
Disclaimer
This extension was developed as a proof of concept and as an exploratory project. CodinGame is not responsible for any content or security issues that may arise due to this module, if you do find any, feel free to open an issue or a pull request.
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
File details
Details for the file codingame-1.4.3.tar.gz
.
File metadata
- Download URL: codingame-1.4.3.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e65457a3ce0c80eaaae96fb9916c2d1020767d9cc31e1778dc78c5c3893de6b |
|
MD5 | f7d1e8b9cc4ce8a355f701d1bb127827 |
|
BLAKE2b-256 | 5b2424c5e31259cc147d5065a5b24ea731bcdae14a18ef35906d36c81eca7504 |
File details
Details for the file codingame-1.4.3-py3-none-any.whl
.
File metadata
- Download URL: codingame-1.4.3-py3-none-any.whl
- Upload date:
- Size: 40.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a669749f61dc9d51b1c5cf695ecf12dda6069598a9148a40c6a7d9f40f693c6e |
|
MD5 | 975e18212c4b64fd175f54267e505790 |
|
BLAKE2b-256 | 8a94a48703b673c5a4d9e900e713145b7635858347ec53ec3ea21b6663626207 |