Async and Sync Python Wrapper for the RedGifs API.
Project description
redgifs
Async and Sync Python Wrapper for the Redgifs API.
âš This project is still in development.
Installation
pip install -U redgifs
redgifs works on Python versions 3.7 and above.
Quickstart
Synchronous usage
import redgifs
api = redgifs.API()
response = api.search('3D')
print(response)
api.close()
Asynchronous usage
import asyncio
from redgifs.aio import API
async def main():
api = API()
response = await api.search('3D')
print(response)
await api.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
More examples can be found in the examples directory.
Documentation
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
redgifs-1.1.0.tar.gz
(66.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
redgifs-1.1.0-py3-none-any.whl
(73.9 kB
view details)
File details
Details for the file redgifs-1.1.0.tar.gz.
File metadata
- Download URL: redgifs-1.1.0.tar.gz
- Upload date:
- Size: 66.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c9176ee5dc524e9c664061da58fa734de77210fdff9947b4ecd6cb199355d50
|
|
| MD5 |
0ab94cbf265a342b75409c8ef23d8378
|
|
| BLAKE2b-256 |
f5883e6d932f7d2182d57ac58cd92af48c2702d988fb137ef0029a322c40ab81
|
File details
Details for the file redgifs-1.1.0-py3-none-any.whl.
File metadata
- Download URL: redgifs-1.1.0-py3-none-any.whl
- Upload date:
- Size: 73.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ea51446212d2c873a320217a7c6d8e0e9d55bb18a1c1a43be2d269450e1797
|
|
| MD5 |
394d56819b4c08e1d5323d234fc8d940
|
|
| BLAKE2b-256 |
02afe47ab6525052da81f66e80aa2e155981421f6cb7a31f116ba363c47abcd0
|