Skip to main content

Python Gfycat API

Project description

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={...}, ...)

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

gpycat-0.1.3.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

gpycat-0.1.3-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

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