mirror of
https://github.com/LukeHagar/speakeasy-playground.git
synced 2025-12-06 12:47:46 +00:00
49 lines
1.7 KiB
Markdown
49 lines
1.7 KiB
Markdown
# Shippo SDK
|
|
|
|
|
|
## Overview
|
|
|
|
### Available Operations
|
|
|
|
* [example](#example)
|
|
|
|
## example
|
|
|
|
### Example Usage
|
|
|
|
```python
|
|
import shippo
|
|
from shippo.models import components
|
|
|
|
s = shippo.Shippo()
|
|
|
|
req = components.ExampleWithOneOfArray(
|
|
one_of_array=[
|
|
904965,
|
|
],
|
|
)
|
|
|
|
res = s.example(req)
|
|
|
|
if res is not None:
|
|
# handle response
|
|
pass
|
|
|
|
```
|
|
|
|
### Parameters
|
|
|
|
| Parameter | Type | Required | Description |
|
|
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
|
|
| `request` | [components.ExampleWithOneOfArray](../../models/components/examplewithoneofarray.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
|
|
|
|
### Response
|
|
|
|
**[operations.ExampleResponse](../../models/operations/exampleresponse.md)**
|
|
### Errors
|
|
|
|
| Error Object | Status Code | Content Type |
|
|
| --------------- | --------------- | --------------- |
|
|
| errors.SDKError | 4x-5xx | */* |
|