# 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())
> 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())
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asyncgur-0.1.2.tar.gz
(1.5 kB
view details)
File details
Details for the file asyncgur-0.1.2.tar.gz.
File metadata
- Download URL: asyncgur-0.1.2.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f35960221bccd82e884fefcd416babd4cc8dff778eb1f14aeaf1a9a3b752a73a
|
|
| MD5 |
038beee97ce8acad935e787d9355bf89
|
|
| BLAKE2b-256 |
b9fa8c12ce36d4ed4139f6f21e8230c2b32ac1871217a7258a4a2b11b8da1837
|