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
Release history Release notifications | RSS feed
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.2.tar.gz
(2.3 kB
view details)
Built Distribution
asyncgur-0.2-py3-none-any.whl
(14.9 kB
view details)
File details
Details for the file asyncgur-0.2.tar.gz
.
File metadata
- Download URL: asyncgur-0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9585de60b87af3fa0dfab942fcf6e3754ec5fd766c9cfec78c5515a546c8a7b8 |
|
MD5 | 1277e71c11bb77000e9f90710af7e84a |
|
BLAKE2b-256 | 52cdf513b9b67b2837cf1d14c064da2fe550bb5f0833f088d06199401029e7d3 |
File details
Details for the file asyncgur-0.2-py3-none-any.whl
.
File metadata
- Download URL: asyncgur-0.2-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09655598053e547e72ea8b2350c800803494d33b9a0fde48b28e2ac0eef02340 |
|
MD5 | 63ce84d0d55a36d2b32ea06e6010825e |
|
BLAKE2b-256 | 00d3b626c07493cf85f3ee06cabcc1630bb557e9e42782ba7a2198659cdad291 |