diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 3ce36ca..26462df 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 3eeea668-4ef4-464e-a888-bdfa023bedf5 management: - docChecksum: a91eaf9ec1e6a3a6f4bf0571f5b18bae + docChecksum: 7a43cd3413d535205cfaee20a4b6a250 docVersion: 0.0.3 - speakeasyVersion: 1.260.6 - generationVersion: 2.311.1 - releaseVersion: 0.6.4 - configChecksum: 7635bfd520182d8dbb029f05936f04f4 + speakeasyVersion: 1.267.2 + generationVersion: 2.312.1 + releaseVersion: 0.6.5 + configChecksum: 3b930574775093d0aa6553d47ae30551 repoURL: https://github.com/LukeHagar/plexpy.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/plexpy.git diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 5780614..4667e28 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false python: - version: 0.6.4 + version: 0.6.5 additionalDependencies: dependencies: {} extraDependencies: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 33a3fe5..be1e844 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.267.0 +speakeasyVersion: 1.267.2 sources: my-source: {} targets: diff --git a/README.md b/README.md index 817a651..8d271f4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -165,7 +165,7 @@ from plex_api.models import errors s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -205,7 +205,7 @@ import plex_api s = plex_api.PlexAPI( server_idx=0, access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -233,7 +233,7 @@ import plex_api s = plex_api.PlexAPI( server_url="{protocol}://{ip}:{port}", access_token="", - x_plex_client_identifier='', + 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 s = plex_api.PlexAPI( - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) -res = s.plex.get_pin(server_url="https://plex.tv/api/v2", strong=False, x_plex_client_identifier='') +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: # handle response @@ -298,7 +298,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + 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. -For example, you can set `X-Plex-Client-Identifier` to `''` 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 @@ -337,11 +337,11 @@ This is used to track the client application and its usage import plex_api s = plex_api.PlexAPI( - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) -res = s.plex.get_pin(strong=False, x_plex_client_identifier='') +res = s.plex.get_pin(strong=False, x_plex_client_identifier='Postman') if res.object is not None: # handle response diff --git a/RELEASES.md b/RELEASES.md index a076a0f..7a6e4a8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -188,4 +188,14 @@ Based on: ### Generated - [python v0.6.4] . ### Releases -- [PyPI v0.6.4] https://pypi.org/project/plex-api-client/0.6.4 - . \ No newline at end of file +- [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 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 76dda50..c1dd585 100644 --- a/USAGE.md +++ b/USAGE.md @@ -4,7 +4,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/models/internal/globals.md b/docs/models/internal/globals.md index dd4395c..12201d3 100644 --- a/docs/models/internal/globals.md +++ b/docs/models/internal/globals.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| Postman | \ No newline at end of file diff --git a/docs/models/operations/getpinglobals.md b/docs/models/operations/getpinglobals.md index 1677b60..7a124dd 100644 --- a/docs/models/operations/getpinglobals.md +++ b/docs/models/operations/getpinglobals.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| Postman | \ No newline at end of file diff --git a/docs/models/operations/getpinrequest.md b/docs/models/operations/getpinrequest.md index 22677b4..d677004 100644 --- a/docs/models/operations/getpinrequest.md +++ b/docs/models/operations/getpinrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call
Strong codes are used for Pin authentication flows
Non-Strong codes are used for `Plex.tv/link`
| -| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call
Strong codes are used for Pin authentication flows
Non-Strong codes are used for `Plex.tv/link`
| | +| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| Postman | \ No newline at end of file diff --git a/docs/models/operations/gettokenglobals.md b/docs/models/operations/gettokenglobals.md index ffbdcfb..45424a8 100644 --- a/docs/models/operations/gettokenglobals.md +++ b/docs/models/operations/gettokenglobals.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `x_plex_client_identifier` | *str* | :heavy_check_mark: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| Postman | \ No newline at end of file diff --git a/docs/models/operations/gettokenrequest.md b/docs/models/operations/gettokenrequest.md index a20d417..dc1687a 100644 --- a/docs/models/operations/gettokenrequest.md +++ b/docs/models/operations/gettokenrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `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
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `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
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| Postman | \ No newline at end of file diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index d1aff9e..33776dc 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -28,7 +28,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -62,7 +62,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index bba9c4e..adc93a6 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -24,7 +24,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -67,7 +67,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/butler/README.md b/docs/sdks/butler/README.md index 4e00739..fd34f0a 100644 --- a/docs/sdks/butler/README.md +++ b/docs/sdks/butler/README.md @@ -25,7 +25,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -64,7 +64,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -99,7 +99,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -139,7 +139,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -181,7 +181,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/hubs/README.md b/docs/sdks/hubs/README.md index e1f9539..cab18c9 100644 --- a/docs/sdks/hubs/README.md +++ b/docs/sdks/hubs/README.md @@ -23,7 +23,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -66,7 +66,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/library/README.md b/docs/sdks/library/README.md index 4af6cbb..f9c67d3 100644 --- a/docs/sdks/library/README.md +++ b/docs/sdks/library/README.md @@ -31,7 +31,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -73,7 +73,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -113,7 +113,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -187,7 +187,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -228,7 +228,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -289,7 +289,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -330,7 +330,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -389,7 +389,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -430,7 +430,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -471,7 +471,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -512,7 +512,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/log/README.md b/docs/sdks/log/README.md index 693e39e..733f9b0 100644 --- a/docs/sdks/log/README.md +++ b/docs/sdks/log/README.md @@ -25,7 +25,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -88,7 +88,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) req = 'level=4&message=Test%20message%201&source=postman @@ -132,7 +132,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/media/README.md b/docs/sdks/media/README.md index a6303ca..9bf1407 100644 --- a/docs/sdks/media/README.md +++ b/docs/sdks/media/README.md @@ -23,7 +23,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -63,7 +63,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -104,7 +104,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/playlists/README.md b/docs/sdks/playlists/README.md index 494368c..ac33b40 100644 --- a/docs/sdks/playlists/README.md +++ b/docs/sdks/playlists/README.md @@ -36,7 +36,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) req = operations.CreatePlaylistRequest( @@ -83,7 +83,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -126,7 +126,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -167,7 +167,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -208,7 +208,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -254,7 +254,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -296,7 +296,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -338,7 +338,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -382,7 +382,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/plex/README.md b/docs/sdks/plex/README.md index edb8efc..a97c2c2 100644 --- a/docs/sdks/plex/README.md +++ b/docs/sdks/plex/README.md @@ -21,11 +21,11 @@ Retrieve a Pin from Plex.tv for authentication flows import plex_api s = plex_api.PlexAPI( - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) -res = s.plex.get_pin(strong=False, x_plex_client_identifier='') +res = s.plex.get_pin(strong=False, x_plex_client_identifier='Postman') if res.object is not None: # handle response @@ -35,11 +35,11 @@ if res.object is not None: ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call
Strong codes are used for Pin authentication flows
Non-Strong codes are used for `Plex.tv/link`
| -| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| -| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | +| Parameter | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `strong` | *Optional[bool]* | :heavy_minus_sign: | Determines the kind of code returned by the API call
Strong codes are used for Pin authentication flows
Non-Strong codes are used for `Plex.tv/link`
| | +| `x_plex_client_identifier` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| Postman | +| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 | ### Response @@ -62,11 +62,11 @@ Retrieve an Access Token from Plex.tv after the Pin has already been authenticat import plex_api s = plex_api.PlexAPI( - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) -res = s.plex.get_token(pin_id='', x_plex_client_identifier='') +res = s.plex.get_token(pin_id='', x_plex_client_identifier='Postman') if res is not None: # handle response @@ -76,11 +76,11 @@ if res is not None: ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `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
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| -| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | +| Parameter | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `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
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| Postman | +| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 | ### Response diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index ca48fa1..0354078 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -35,7 +35,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -81,7 +81,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -123,7 +123,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/server/README.md b/docs/sdks/server/README.md index 378fbaa..be83af8 100644 --- a/docs/sdks/server/README.md +++ b/docs/sdks/server/README.md @@ -28,7 +28,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -62,7 +62,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -96,7 +96,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -130,7 +130,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -164,7 +164,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -198,7 +198,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -234,7 +234,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) req = operations.GetResizedPhotoRequest( @@ -283,7 +283,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/sessions/README.md b/docs/sdks/sessions/README.md index c641674..1da54d9 100644 --- a/docs/sdks/sessions/README.md +++ b/docs/sdks/sessions/README.md @@ -24,7 +24,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -58,7 +58,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -92,7 +92,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -126,7 +126,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/statistics/README.md b/docs/sdks/statistics/README.md index a5b8544..1499a06 100644 --- a/docs/sdks/statistics/README.md +++ b/docs/sdks/statistics/README.md @@ -21,7 +21,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/updater/README.md b/docs/sdks/updater/README.md index caf36fd..0c4e1a5 100644 --- a/docs/sdks/updater/README.md +++ b/docs/sdks/updater/README.md @@ -24,7 +24,7 @@ import plex_api s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -59,7 +59,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) @@ -101,7 +101,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) diff --git a/docs/sdks/video/README.md b/docs/sdks/video/README.md index 7cc856f..11d7c0d 100644 --- a/docs/sdks/video/README.md +++ b/docs/sdks/video/README.md @@ -23,7 +23,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) req = operations.GetTimelineRequest( @@ -76,7 +76,7 @@ from plex_api.models import operations s = plex_api.PlexAPI( access_token="", - x_plex_client_identifier='', + x_plex_client_identifier='Postman', ) req = operations.StartUniversalTranscodeRequest( diff --git a/setup.py b/setup.py index a712c4e..580a194 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ except FileNotFoundError: setuptools.setup( name='plex-api-client', - version='0.6.4', + version='0.6.5', author='LukeHagar', description='Python Client SDK Generated by Speakeasy', url='https://github.com/LukeHagar/plexpy.git', diff --git a/src/plex_api/sdkconfiguration.py b/src/plex_api/sdkconfiguration.py index 275156b..4b983b5 100644 --- a/src/plex_api/sdkconfiguration.py +++ b/src/plex_api/sdkconfiguration.py @@ -33,9 +33,9 @@ class SDKConfiguration: server_defaults: List[Dict[str, str]] = field(default_factory=List) language: str = 'python' openapi_doc_version: str = '0.0.3' - sdk_version: str = '0.6.4' - gen_version: str = '2.311.1' - user_agent: str = 'speakeasy-sdk/python 0.6.4 2.311.1 0.0.3 plex-api-client' + sdk_version: str = '0.6.5' + gen_version: str = '2.312.1' + user_agent: str = 'speakeasy-sdk/python 0.6.5 2.312.1 0.0.3 plex-api-client' retry_config: Optional[RetryConfig] = None def __post_init__(self):