Metadata-Version: 2.1
Name: gpycat
Version: 0.1.3
Summary: Python Gfycat API
Home-page: https://github.com/kvdomingo/pygfycat
Author: Kenneth V. Domingo
Author-email: hello@kvdomingo.xyz
Requires-Python: >=3.8,<3.11
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: coverage-badge (>=1.1.0,<2.0.0)
Requires-Dist: loguru (>=0.6.0,<0.7.0)
Requires-Dist: pydantic (>=1.9.2,<2.0.0)
Requires-Dist: requests (>=2.28.1,<3.0.0)
Requires-Dist: requests-toolbelt (>=0.9.1,<0.10.0)
Description-Content-Type: text/markdown

# gpycat
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gpycat?style=for-the-badge)
![GitHub](https://img.shields.io/github/license/kvdomingo/pygfycat?style=for-the-badge)
![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/kvdomingo/pygfycat?include_prereleases&style=for-the-badge)

![](./coverage.svg)

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

