Skip to main content

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

https://redgifs.readthedocs.io

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

redgifs-1.1.0.tar.gz (66.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redgifs-1.1.0-py3-none-any.whl (73.9 kB view details)

Uploaded Python 3

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

Hashes for redgifs-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0c9176ee5dc524e9c664061da58fa734de77210fdff9947b4ecd6cb199355d50
MD5 0ab94cbf265a342b75409c8ef23d8378
BLAKE2b-256 f5883e6d932f7d2182d57ac58cd92af48c2702d988fb137ef0029a322c40ab81

See more details on using hashes here.

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

Hashes for redgifs-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9ea51446212d2c873a320217a7c6d8e0e9d55bb18a1c1a43be2d269450e1797
MD5 394d56819b4c08e1d5323d234fc8d940
BLAKE2b-256 02afe47ab6525052da81f66e80aa2e155981421f6cb7a31f116ba363c47abcd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page