https://github.com/kvdomingo/pygfycat
Python Gfycat API (WIP)
https://github.com/kvdomingo/pygfycat
api client gfycat python
Last synced: 12 months ago
JSON representation
Python Gfycat API (WIP)
- Host: GitHub
- URL: https://github.com/kvdomingo/pygfycat
- Owner: kvdomingo
- License: mit
- Created: 2022-08-30T16:06:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T18:15:39.000Z (over 3 years ago)
- Last Synced: 2025-02-04T16:04:50.660Z (over 1 year ago)
- Topics: api, client, gfycat, python
- Language: Python
- Homepage: https://kvdomingo.github.io/pygfycat/
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpycat




This is a WIP unofficial Python wrapper for the Gfycat web API.
## Installation
```shell
# Using pip
pip install gpycat
# OR
# Using poetry
poetry add gpycat
```
## Usage
```python
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:
```shell
> GfyItem(title="...", description="...", avgColor="...", content_urls={...}, ...)
```