ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.267.2

This commit is contained in:
speakeasybot
2024-04-22 16:15:29 +00:00
parent 9b13bd7287
commit ae5fba720f
28 changed files with 122 additions and 112 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0 lockVersion: 2.0.0
id: 3eeea668-4ef4-464e-a888-bdfa023bedf5 id: 3eeea668-4ef4-464e-a888-bdfa023bedf5
management: management:
docChecksum: a91eaf9ec1e6a3a6f4bf0571f5b18bae docChecksum: 7a43cd3413d535205cfaee20a4b6a250
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.260.6 speakeasyVersion: 1.267.2
generationVersion: 2.311.1 generationVersion: 2.312.1
releaseVersion: 0.6.4 releaseVersion: 0.6.5
configChecksum: 7635bfd520182d8dbb029f05936f04f4 configChecksum: 3b930574775093d0aa6553d47ae30551
repoURL: https://github.com/LukeHagar/plexpy.git repoURL: https://github.com/LukeHagar/plexpy.git
repoSubDirectory: . repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexpy.git installationURL: https://github.com/LukeHagar/plexpy.git

View File

@@ -12,7 +12,7 @@ generation:
auth: auth:
oAuth2ClientCredentialsEnabled: false oAuth2ClientCredentialsEnabled: false
python: python:
version: 0.6.4 version: 0.6.5
additionalDependencies: additionalDependencies:
dependencies: {} dependencies: {}
extraDependencies: extraDependencies:

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.267.0 speakeasyVersion: 1.267.2
sources: sources:
my-source: {} my-source: {}
targets: targets:

View File

@@ -25,7 +25,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -165,7 +165,7 @@ from plex_api.models import errors
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -205,7 +205,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
server_idx=0, server_idx=0,
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -233,7 +233,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
server_url="{protocol}://{ip}:{port}", server_url="{protocol}://{ip}:{port}",
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -252,11 +252,11 @@ The server URL can also be overridden on a per-operation basis, provided a serve
import plex_api import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
res = s.plex.get_pin(server_url="https://plex.tv/api/v2", strong=False, x_plex_client_identifier='<value>') res = s.plex.get_pin(server_url="https://plex.tv/api/v2", strong=False, x_plex_client_identifier='Postman')
if res.object is not None: if res.object is not None:
# handle response # handle response
@@ -298,7 +298,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -316,7 +316,7 @@ if res.object is not None:
A parameter is configured globally. This parameter must be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed. A parameter is configured globally. This parameter must be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
For example, you can set `X-Plex-Client-Identifier` to `'<value>'` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_pin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration. For example, you can set `X-Plex-Client-Identifier` to `'Postman'` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_pin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
### Available Globals ### Available Globals
@@ -337,11 +337,11 @@ This is used to track the client application and its usage
import plex_api import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
res = s.plex.get_pin(strong=False, x_plex_client_identifier='<value>') res = s.plex.get_pin(strong=False, x_plex_client_identifier='Postman')
if res.object is not None: if res.object is not None:
# handle response # handle response

View File

@@ -189,3 +189,13 @@ Based on:
- [python v0.6.4] . - [python v0.6.4] .
### Releases ### Releases
- [PyPI v0.6.4] https://pypi.org/project/plex-api-client/0.6.4 - . - [PyPI v0.6.4] https://pypi.org/project/plex-api-client/0.6.4 - .
## 2024-04-22 16:14:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.267.2 (2.312.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.6.5] .
### Releases
- [PyPI v0.6.5] https://pypi.org/project/plex-api-client/0.6.5 - .

View File

@@ -4,7 +4,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -3,6 +3,6 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | | `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | Postman |

View File

@@ -3,6 +3,6 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | | `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | Postman |

View File

@@ -3,7 +3,7 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | | `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | | `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | Postman |

View File

@@ -3,6 +3,6 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | | `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | Postman |

View File

@@ -3,7 +3,7 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pin_id` | *str* | :heavy_check_mark: | The PinID to retrieve an access token for | | `pin_id` | *str* | :heavy_check_mark: | The PinID to retrieve an access token for | |
| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | | `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | Postman |

View File

@@ -28,7 +28,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -62,7 +62,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -24,7 +24,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -67,7 +67,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -25,7 +25,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -64,7 +64,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -99,7 +99,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -139,7 +139,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -181,7 +181,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -23,7 +23,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -66,7 +66,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -31,7 +31,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -73,7 +73,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -113,7 +113,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -187,7 +187,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -228,7 +228,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -289,7 +289,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -330,7 +330,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -389,7 +389,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -430,7 +430,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -471,7 +471,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -512,7 +512,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -25,7 +25,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -88,7 +88,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
req = 'level=4&message=Test%20message%201&source=postman req = 'level=4&message=Test%20message%201&source=postman
@@ -132,7 +132,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -23,7 +23,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -63,7 +63,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -104,7 +104,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -36,7 +36,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
req = operations.CreatePlaylistRequest( req = operations.CreatePlaylistRequest(
@@ -83,7 +83,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -126,7 +126,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -167,7 +167,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -208,7 +208,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -254,7 +254,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -296,7 +296,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -338,7 +338,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -382,7 +382,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -21,11 +21,11 @@ Retrieve a Pin from Plex.tv for authentication flows
import plex_api import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
res = s.plex.get_pin(strong=False, x_plex_client_identifier='<value>') res = s.plex.get_pin(strong=False, x_plex_client_identifier='Postman')
if res.object is not None: if res.object is not None:
# handle response # handle response
@@ -35,11 +35,11 @@ if res.object is not None:
### Parameters ### Parameters
| Parameter | Type | Required | Description | | Parameter | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | | `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | | `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | Postman |
| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | | `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
### Response ### Response
@@ -62,11 +62,11 @@ Retrieve an Access Token from Plex.tv after the Pin has already been authenticat
import plex_api import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
res = s.plex.get_token(pin_id='<value>', x_plex_client_identifier='<value>') res = s.plex.get_token(pin_id='<value>', x_plex_client_identifier='Postman')
if res is not None: if res is not None:
# handle response # handle response
@@ -76,11 +76,11 @@ if res is not None:
### Parameters ### Parameters
| Parameter | Type | Required | Description | | Parameter | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pin_id` | *str* | :heavy_check_mark: | The PinID to retrieve an access token for | | `pin_id` | *str* | :heavy_check_mark: | The PinID to retrieve an access token for | |
| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | | `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | Postman |
| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | | `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
### Response ### Response

View File

@@ -35,7 +35,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -81,7 +81,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -123,7 +123,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -28,7 +28,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -62,7 +62,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -96,7 +96,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -130,7 +130,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -164,7 +164,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -198,7 +198,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -234,7 +234,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
req = operations.GetResizedPhotoRequest( req = operations.GetResizedPhotoRequest(
@@ -283,7 +283,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -24,7 +24,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -58,7 +58,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -92,7 +92,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -126,7 +126,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -21,7 +21,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -24,7 +24,7 @@ import plex_api
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -59,7 +59,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
@@ -101,7 +101,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )

View File

@@ -23,7 +23,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
req = operations.GetTimelineRequest( req = operations.GetTimelineRequest(
@@ -76,7 +76,7 @@ from plex_api.models import operations
s = plex_api.PlexAPI( s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>", access_token="<YOUR_API_KEY_HERE>",
x_plex_client_identifier='<value>', x_plex_client_identifier='Postman',
) )
req = operations.StartUniversalTranscodeRequest( req = operations.StartUniversalTranscodeRequest(

View File

@@ -19,7 +19,7 @@ except FileNotFoundError:
setuptools.setup( setuptools.setup(
name='plex-api-client', name='plex-api-client',
version='0.6.4', version='0.6.5',
author='LukeHagar', author='LukeHagar',
description='Python Client SDK Generated by Speakeasy', description='Python Client SDK Generated by Speakeasy',
url='https://github.com/LukeHagar/plexpy.git', url='https://github.com/LukeHagar/plexpy.git',

View File

@@ -33,9 +33,9 @@ class SDKConfiguration:
server_defaults: List[Dict[str, str]] = field(default_factory=List) server_defaults: List[Dict[str, str]] = field(default_factory=List)
language: str = 'python' language: str = 'python'
openapi_doc_version: str = '0.0.3' openapi_doc_version: str = '0.0.3'
sdk_version: str = '0.6.4' sdk_version: str = '0.6.5'
gen_version: str = '2.311.1' gen_version: str = '2.312.1'
user_agent: str = 'speakeasy-sdk/python 0.6.4 2.311.1 0.0.3 plex-api-client' user_agent: str = 'speakeasy-sdk/python 0.6.5 2.312.1 0.0.3 plex-api-client'
retry_config: Optional[RetryConfig] = None retry_config: Optional[RetryConfig] = None
def __post_init__(self): def __post_init__(self):