[go: nahoru, domu]

Skip to content
forked from scrazzz/redgifs

Simple Python API wrapper for the RedGIFs API

License

Notifications You must be signed in to change notification settings

furingleb/redgifs

 
 

Repository files navigation

redgifs

Async and Sync Python Wrapper for the RedGIFs API.

⚠ This project is still in development.

Please star this repo to support the developer and to encourage the development of this project!

Installation

pip install -U redgifs

Development version

pip install -U git+https://github.com/scrazzz/redgifs

redgifs works on Python versions 3.8 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

About

Simple Python API wrapper for the RedGIFs API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%