Skip to main content

⛔️ DEPRACATED: Asynchronous wrapper for the CodinGame API.

Project description

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())

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

aiocodingame-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

aiocodingame-1.0.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file aiocodingame-1.0.0.tar.gz.

File metadata

  • Download URL: aiocodingame-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for aiocodingame-1.0.0.tar.gz
Algorithm Hash digest
SHA256 890f53d711e37643552cfa3a4ab982eeae4a89d88d3073eb2bd0530e4b6c1317
MD5 c03f346c2ee93aed5644a1cc45c1f6b7
BLAKE2b-256 5d37649f96ae0ad795feecc9713710b92f07eee7ea29f67337675233d1de2dbf

See more details on using hashes here.

File details

Details for the file aiocodingame-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: aiocodingame-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for aiocodingame-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 116fb72c0a84d6e7116a172b2c1b5551b9a907d4c3e4c995f7b573304d0c1d0c
MD5 27d9afa10bce8cf01009d500a98f632c
BLAKE2b-256 1dfa5464a13e19974e6b55a1dc5546fa5b571328f47fff898be10ba401992ee0

See more details on using hashes here.

Supported by

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