aiozaneapi-1.6
توضیحات
An async wrapper made in Python for Zane API.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiozaneapi-1.6 |
| نام | aiozaneapi |
| نسخه کتابخانه | 1.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | kal-byte |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | http://github.com/kal-byte/aiozaneapi |
| آدرس اینترنتی | https://pypi.org/project/aiozaneapi/ |
| مجوز | MIT |
aiozaneapi - An async wrapper made in Python for Zane API.
==========================================================
Made for Python 3.6+.
`Website Link <https://zane.ip-bash.com/>`_
Example:
--------
.. code:: py
import aiozaneapi # Import the package so it can be used.
client = aiozaneapi.Client('Token Here') # Instantiate the Client.
try:
image = await client.magic('Image URL Here') # This will return a BytesIO object.
except aiozaneapi.GatewayError as err:
print(f'Error has occurred on the server-side. {err}')
except aiozaneapi.UnauthorizedError as err:
print(f'Error has occurred on the client-side. {err}')
await client.close() # Close the client unless you want aiohttp screaming at you.
نحوه نصب
نصب پکیج whl aiozaneapi-1.6:
pip install aiozaneapi-1.6.whl
نصب پکیج tar.gz aiozaneapi-1.6:
pip install aiozaneapi-1.6.tar.gz