Skip to main content

Pythonic wrapper for the undocumented CodinGame API.

Project description

PyPI version info Supported Python versions Lint and test workflow status Documentation build status Code coverage Code style: Black Discord support server

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.

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

codingame-1.0.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codingame-1.0.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codingame-1.0.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for codingame-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0f633c64ecb7cba190740f889fd26b60cf3a029510a0dc34f82b37ce480e87ef
MD5 263f40cde750815a744ef24303a0a155
BLAKE2b-256 2e4741e6749b96d51cc8ab6a3ec45235d945a930f1d914a432814f4d5806aea1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codingame-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for codingame-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a80585a471171db66fd675c66dcbe7638b010ddfe34512abf4dd59a1a2f2133d
MD5 b388d52ca092120d7920914f3617324b
BLAKE2b-256 2690f71f0b6fe4df559f7671a101688fc950320be02c9c8c7b958e6fb65b1e89

See more details on using hashes here.

Supported by

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