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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file gpycat-0.1.3.tar.gz.

File metadata

  • Download URL: gpycat-0.1.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for gpycat-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6923cc12691917dfc2b4c02c50d4040f2a200ce9b3cac53ea510870708a82b5d
MD5 cf0f1be8e065063baff47e2090d83248
BLAKE2b-256 055ada6e24c98c97c91b8204da32a7e62c87ccfb8d8bc52891205d09aa1b4dfe

See more details on using hashes here.

File details

Details for the file gpycat-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: gpycat-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for gpycat-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 42d29f112b425540fd30c9ada55b9ef05152a4d7f5265cceeb6e15fcc5cd22cb
MD5 8d8bfe61e6f0621a9081a42babfc6d1a
BLAKE2b-256 22a8ebe7102c920dfe76ac9f012d62204cc79513cf6e56a436a0827f96795fb0

See more details on using hashes here.

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