ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.459.2

This commit is contained in:
speakeasybot
2024-12-21 00:03:07 +00:00
parent d6ce868807
commit e6c93bcf32
92 changed files with 2422 additions and 2783 deletions

View File

@@ -33,20 +33,16 @@ This request is intended to be very fast, and called as the user types.
```python
from plex_api_client import PlexAPI
s = PlexAPI(
with PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
client_id="3381b62b-9ab7-4e37-827b-203e9809eb58",
client_name="Plex for Roku",
client_version="2.4.1",
platform="Roku",
device_nickname="Roku 3",
)
) as plex_api:
res = s.search.perform_search(query="dylan", limit=5)
res = plex_api.search.perform_search(query="dylan", limit=5)
if res is not None:
# handle response
pass
assert res is not None
# Handle response
print(res)
```
@@ -84,20 +80,16 @@ Results, as well as their containing per-type hubs, contain a `distance` attribu
```python
from plex_api_client import PlexAPI
s = PlexAPI(
with PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
client_id="3381b62b-9ab7-4e37-827b-203e9809eb58",
client_name="Plex for Roku",
client_version="2.4.1",
platform="Roku",
device_nickname="Roku 3",
)
) as plex_api:
res = s.search.perform_voice_search(query="dead+poop", limit=5)
res = plex_api.search.perform_voice_search(query="dead+poop", limit=5)
if res is not None:
# handle response
pass
assert res is not None
# Handle response
print(res)
```
@@ -131,20 +123,16 @@ This will search the database for the string provided.
```python
from plex_api_client import PlexAPI
s = PlexAPI(
with PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
client_id="3381b62b-9ab7-4e37-827b-203e9809eb58",
client_name="Plex for Roku",
client_version="2.4.1",
platform="Roku",
device_nickname="Roku 3",
)
) as plex_api:
res = s.search.get_search_results(query="110")
res = plex_api.search.get_search_results(query="110")
if res.object is not None:
# handle response
pass
assert res.object is not None
# Handle response
print(res.object)
```