aiocodingame-1.0.0
توضیحات
⛔️ DEPRACATED: Asynchronous wrapper for the CodinGame API.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiocodingame-1.0.0 |
| نام | aiocodingame |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | takos22 |
| ایمیل نویسنده | takos2210@gmail.com |
| آدرس صفحه اصلی | https://github.com/takos22/aiocodingame |
| آدرس اینترنتی | https://pypi.org/project/aiocodingame/ |
| مجوز | MIT |
⛔️ DEPRACATED: aiocodingame module
===================================
Use the `codingame module <https://github.com/takos22/codingame>`_ instead.
Install that module:
.. code-block:: sh
pip install codingame[async]
To create an asynchronous client:
.. code-block:: py
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())
نیازمندی
| مقدار | نام |
|---|---|
| - | codingame[async] |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl aiocodingame-1.0.0:
pip install aiocodingame-1.0.0.whl
نصب پکیج tar.gz aiocodingame-1.0.0:
pip install aiocodingame-1.0.0.tar.gz