Pythonic wrapper for the undocumented CodinGame API.
Project description
Pythonic wrapper for the undocumented CodinGame API.
Installation
Python 3.6 or higher is required.
Install codingame with pip:
pip install codingame
Quickstart
Create an application, in example.py:
import codingame
client = codingame.Client()
# if you want to log in
client.login("email@example.com", "password")
# 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)
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
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
codingame-0.4.0.tar.gz
(13.7 kB
view hashes)
Built Distribution
codingame-0.4.0-py3-none-any.whl
(15.4 kB
view hashes)
Close
Hashes for codingame-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33321de4b709e27729a8938866a24f25cc10bd98b0c1e2a84c0c9c33efc48ec8 |
|
MD5 | 50bc1a1cf96cffa8a6a9f1ab9d1271df |
|
BLAKE2b-256 | 82e30dbf2007970e6885835217ec7cc1b181c959a74c77d5f68973d2337f2918 |