Wrapper for the undocumented CodinGame API
codingame API wrapper
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 protected]", "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)
GitHub