Skip to main content

Speakeasy API Client SDK for Python

Project description

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.

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.

Installation

pip install speakeasy-client-sdk-python

Example usage

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)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

speakeasy-client-sdk-python-0.2.0.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

speakeasy_client_sdk_python-0.2.0-py3-none-any.whl (30.3 kB view hashes)

Uploaded Python 3

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