Speakeasy API Client SDK for Python
Project description
speakeasy-client-sdk-python
SDK Installation
pip install speakeasy-client-sdk-python
SDK Example Usage
import speakeasy
from speakeasy.models import operations, shared
s = speakeasy.Speakeasy(
security=shared.Security(
api_key="",
),
)
req = operations.GetApisRequest(
metadata={
"corrupti": [
'provident',
],
},
op=operations.GetApisOp(
and_=False,
),
)
res = s.apis.get_apis(req)
if res.apis is not None:
# handle response
Available Resources and Operations
Speakeasy SDK
- validate_api_key - Validate the current api key.
APIEndpoints
- delete_api_endpoint - Delete an ApiEndpoint.
- find_api_endpoint - Find an ApiEndpoint via its displayName.
- generate_open_api_spec_for_api_endpoint - Generate an OpenAPI specification for a particular ApiEndpoint.
- generate_postman_collection_for_api_endpoint - Generate a Postman collection for a particular ApiEndpoint.
- get_all_api_endpoints - Get all Api endpoints for a particular apiID.
- get_all_for_version_api_endpoints - Get all ApiEndpoints for a particular apiID and versionID.
- get_api_endpoint - Get an ApiEndpoint.
- upsert_api_endpoint - Upsert an ApiEndpoint.
Apis
- delete_api - Delete an Api.
- generate_open_api_spec - Generate an OpenAPI specification for a particular Api.
- generate_postman_collection - Generate a Postman collection for a particular Api.
- get_all_api_versions - Get all Api versions for a particular ApiEndpoint.
- get_apis - Get a list of Apis for a given workspace
- upsert_api - Upsert an Api
Embeds
- get_embed_access_token - Get an embed access token for the current workspace.
- get_valid_embed_access_tokens - Get all valid embed access tokens for the current workspace.
- revoke_embed_access_token - Revoke an embed access EmbedToken.
Metadata
- delete_version_metadata - Delete metadata for a particular apiID and versionID.
- get_version_metadata - Get all metadata for a particular apiID and versionID.
- insert_version_metadata - Insert metadata for a particular apiID and versionID.
Plugins
- get_plugins - Get all plugins for the current workspace.
- run_plugin - Run a plugin
- upsert_plugin - Upsert a plugin
Requests
- generate_request_postman_collection - Generate a Postman collection for a particular request.
- get_request_from_event_log - Get information about a particular request.
- query_event_log - Query the event log to retrieve a list of requests.
Schemas
- delete_schema - Delete a particular schema revision for an Api.
- download_schema - Download the latest schema for a particular apiID.
- download_schema_revision - Download a particular schema revision for an Api.
- get_schema - Get information about the latest schema.
- get_schema_diff - Get a diff of two schema revisions for an Api.
- get_schema_revision - Get information about a particular schema revision for an Api.
- get_schemas - Get information about all schemas associated with a particular apiID.
- register_schema - Register a schema.
SDK Generated by Speakeasy
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
Built Distribution
Close
Hashes for speakeasy-client-sdk-python-1.55.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18b6308985c763b9b74edc3fa9576ea204e6e529313f29110ec995a45ca2e908 |
|
MD5 | 45127a30de2ac1009c811030ec2fbb78 |
|
BLAKE2b-256 | fa6af6dd459a7f0b3731d77f97e73fce6b874e919021280c0ddc20c592a0b1f1 |
Close
Hashes for speakeasy_client_sdk_python-1.55.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7753ac29a8c611f5398775b88909a1655914ce6280e577532d4e3fe822933108 |
|
MD5 | 68a4c4850465b73b83e5c9617f37f336 |
|
BLAKE2b-256 | e8cd0f6184ffc55ad6b8358fea624d631c3aadbaa44a14806d0ecf056cd8df12 |