Skip to main content

An async wrapper made in Python for Zane API.

Project description

Made for Python 3.6+. Website Link

Example:

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.

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

aiozaneapi-1.6.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

aiozaneapi-1.6-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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