Skip to main content

codingame API wrapper

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.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.

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.

Metadata

Release files for codingame 1.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codingame 1.4.3
File Size Uploaded
codingame-1.4.3.tar.gz 33.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codingame 1.4.3
File Interpreter ABI Platform
codingame-1.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 73.8 kB

Release files / codingame-1.4.3.tar.gz

Download URL codingame-1.4.3.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6e65457a3ce0c80eaaae96fb9916c2d1020767d9cc31e1778dc78c5c3893de6b
BLAKE2b-256 checksum
How to use checksums
5b2424c5e31259cc147d5065a5b24ea731bcdae14a18ef35906d36c81eca7504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / codingame-1.4.3-py3-none-any.whl

Download URL codingame-1.4.3-py3-none-any.whl
Size 40.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a669749f61dc9d51b1c5cf695ecf12dda6069598a9148a40c6a7d9f40f693c6e
BLAKE2b-256 checksum
How to use checksums
8a94a48703b673c5a4d9e900e713145b7635858347ec53ec3ea21b6663626207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.4.3 This release

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page