Metadata-Version: 2.1
Name: speakeasy-client-sdk-python
Version: 0.2.0
Summary: Speakeasy API Client SDK for Python
Author: Speakeasy
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: certifi (==2022.6.15)
Requires-Dist: charset-normalizer (==2.1.1)
Requires-Dist: dataclasses-json (==0.5.7)
Requires-Dist: idna (==3.3)
Requires-Dist: marshmallow (==3.17.1)
Requires-Dist: marshmallow-enum (==1.5.1)
Requires-Dist: mypy-extensions (==0.4.3)
Requires-Dist: packaging (==21.3)
Requires-Dist: pyparsing (==3.0.9)
Requires-Dist: python-dateutil (==2.8.2)
Requires-Dist: requests (==2.28.1)
Requires-Dist: six (==1.16.0)
Requires-Dist: typing-inspect (==0.8.0)
Requires-Dist: typing-extensions (==4.3.0)
Requires-Dist: urllib3 (==1.26.12)

# speakeasy-client-sdk-python

This is the Speakeasy API Client SDK for Python. It is generated from our OpenAPI spec found at https://docs.speakeasyapi.dev/openapi.yaml and used for interacting with the [Speakeasy API](https://docs.speakeasyapi.dev/docs/speakeasy-api/speakeasy-api).

This SDK was generated using Speakeasy's SDK Generator. For more information on how to use the generator to generate your own SDKs, please see the [Speakeasy Client SDK Generator Docs](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks).

## Installation

```bash
pip install speakeasy-client-sdk-python
```

## Example usage
```python
import sdk
from sdk.models import operations, shared

s = sdk.SDK()
s.config_security(
    security=shared.Security(
        api_key=shared.SchemeAPIKey(
            api_key="YOUR_API_KEY" # Replace with your API key from your Speakeasy Workspace
        )
    )
)

req = operations.GetApisRequest(
    query_params=operations.GetApisQueryParams(
        metadata={'label': ['1']},
        op=operations.GetApisOp(and_=True)
    )
)

res = s.get_apis(req)

if res.status_code == 200:
    print(res.apis)
else:
    print(res.error)

```
