⛔️ DEPRACATED: aiocodingame module
Use the codingame module instead.
Install that module:
pip install codingame[async]
To create an asynchronous client:
import asyncio
import codingame
async def main():
client = codingame.Client(is_async=True)
# if you want to log in
await client.login("email@example.com", "password")
# get a codingamer
codingamer = await client.get_codingamer("username")
print(codingamer.pseudo)
# get the global leaderboard
global_leaderboard = await client.get_global_leaderboard()
# print the pseudo of the top codingamer
print(global_leaderboard.users[0].pseudo)
asyncio.run(main())
Metadata
Release files for aiocodingame 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiocodingame-1.0.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiocodingame-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / aiocodingame-1.0.0.tar.gz
| Download URL | aiocodingame-1.0.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
890f53d711e37643552cfa3a4ab982eeae4a89d88d3073eb2bd0530e4b6c1317
|
|
BLAKE2b-256 checksum How to use checksums |
5d37649f96ae0ad795feecc9713710b92f07eee7ea29f67337675233d1de2dbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|
Release files / aiocodingame-1.0.0-py3-none-any.whl
| Download URL | aiocodingame-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
116fb72c0a84d6e7116a172b2c1b5551b9a907d4c3e4c995f7b573304d0c1d0c
|
|
BLAKE2b-256 checksum How to use checksums |
1dfa5464a13e19974e6b55a1dc5546fa5b571328f47fff898be10ba401992ee0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|