gpycat

Python Gfycat API


Keywords
api, client, gfycat, python
License
MIT
Install
pip install gpycat==0.1.3

Documentation

gpycat

PyPI - Python Version GitHub GitHub release (latest SemVer including pre-releases)

This is a WIP unofficial Python wrapper for the Gfycat web API.

Installation

# Using pip
pip install gpycat

# OR

# Using poetry
poetry add gpycat

Usage

from gpycat import gpycat

# Import your client ID/secret from environment variables

gpycat.auth(client_id=CLIENT_ID, client_secret=CLIENT_SECRET)
item = gpycat.get_gfycat("zestycreepyasiaticlesserfreshwaterclam")

Output:

> GfyItem(title="...", description="...", avgColor="...", content_urls={...}, ...)