aiocodingame 1.0.0

Creator: codyrutscher

Last updated:

0 purchases

aiocodingame 1.0.0 Image
aiocodingame 1.0.0 Images

Languages

Categories

Add to Cart

Description:

aiocodingame 1.0.0

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 protected]", "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())

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.