⛔️ 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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for aiocodingame-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 116fb72c0a84d6e7116a172b2c1b5551b9a907d4c3e4c995f7b573304d0c1d0c |
|
MD5 | 27d9afa10bce8cf01009d500a98f632c |
|
BLAKE2b-256 | 1dfa5464a13e19974e6b55a1dc5546fa5b571328f47fff898be10ba401992ee0 |