Skip to main content

No project description provided

Project description

asyncgur

An Asynchronous Imgur Wrapper to upload or get an image for Python

Example Usage:

from asyncgur import Imgur
client_id = 'YOUR_IMGUR_CLIENT_ID'
imgur_app = Imgur(client_id)

async def main():
    image, response = await imgur_app.upload_image(image='some_image_url_or_bytes')
    assert response.success == True and response.status == 200
    print(image)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for asyncgur, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size asyncgur-0.2-py3-none-any.whl (14.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size asyncgur-0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page