Metadata-Version: 2.1
Name: pyapi-client
Version: 0.1.0
Summary: Python client library for OpenAPI-based services.
Home-page: https://pyapi-client.readthedocs.io
License: MIT
Author: Berislav Lopac
Author-email: berislav@lopac.net
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: PyYAML (>=6.0,<7.0)
Requires-Dist: httpx (>=0.22.0,<0.23.0)
Requires-Dist: openapi-core (>=0.14.2,<0.15.0)
Requires-Dist: starlette (>=0.19.0,<0.20.0)
Requires-Dist: stringcase (>=1.2.0,<2.0.0)
Project-URL: Repository, https://github.com/berislavlopac/pyapi-client
Description-Content-Type: text/markdown

# PyAPI Client

**PyAPI Client** is a Python library for consuming REST APIs based on [OpenAPI](https://swagger.io/resources/open-api/) specifications.

**WARNING:** This is still a work in progress and not quite ready for production usage. Until version 1.0 is released, any new release can be expected to break backward compatibility.


## Quick Start

```python
from pyapi.client import Client

client = Client.from_file("path/to/openapi.yaml")
result = client.some_endpoint_id("path", "variables", "query_var"="example")
```

