mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-09 12:37:47 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
lockVersion: 2.0.0
|
lockVersion: 2.0.0
|
||||||
id: 01a51eb2-5d90-4a24-b154-68e491d02c36
|
id: 01a51eb2-5d90-4a24-b154-68e491d02c36
|
||||||
management:
|
management:
|
||||||
docChecksum: a6fee1797b2da7ccbaf7743772a40b56
|
docChecksum: 5bf578a672589649d8ed83c3927c50a6
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.397.2
|
speakeasyVersion: 1.399.2
|
||||||
generationVersion: 2.415.8
|
generationVersion: 2.416.6
|
||||||
releaseVersion: 0.8.0
|
releaseVersion: 0.8.1
|
||||||
configChecksum: 277c6d222037e020407684fc302d9752
|
configChecksum: 26050d73033e2c897e4bba0d1ad1bd42
|
||||||
repoURL: https://github.com/LukeHagar/plexphp.git
|
repoURL: https://github.com/LukeHagar/plexphp.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexphp
|
installationURL: https://github.com/LukeHagar/plexphp
|
||||||
@@ -25,7 +25,7 @@ features:
|
|||||||
nameOverrides: 2.81.2
|
nameOverrides: 2.81.2
|
||||||
nullables: 1.0.0
|
nullables: 1.0.0
|
||||||
responseFormat: 0.1.0
|
responseFormat: 0.1.0
|
||||||
unions: 0.1.2
|
unions: 0.1.3
|
||||||
generatedFiles:
|
generatedFiles:
|
||||||
- .gitattributes
|
- .gitattributes
|
||||||
- CONTRIBUTING.md
|
- CONTRIBUTING.md
|
||||||
@@ -1624,6 +1624,7 @@ examples:
|
|||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
"401":
|
"401":
|
||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
|
"200": {}
|
||||||
getServerPreferences:
|
getServerPreferences:
|
||||||
speakeasy-default-get-server-preferences:
|
speakeasy-default-get-server-preferences:
|
||||||
responses:
|
responses:
|
||||||
@@ -1674,7 +1675,7 @@ examples:
|
|||||||
width: 110
|
width: 110
|
||||||
height: 165
|
height: 165
|
||||||
opacity: 643869
|
opacity: 643869
|
||||||
blur: 4000
|
blur: 20
|
||||||
minSize: 0
|
minSize: 0
|
||||||
upscale: 0
|
upscale: 0
|
||||||
url: "/library/metadata/49564/thumb/1654258204"
|
url: "/library/metadata/49564/thumb/1654258204"
|
||||||
@@ -1693,6 +1694,7 @@ examples:
|
|||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
"401":
|
"401":
|
||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
|
"200": {}
|
||||||
getServerList:
|
getServerList:
|
||||||
speakeasy-default-get-server-list:
|
speakeasy-default-get-server-list:
|
||||||
responses:
|
responses:
|
||||||
@@ -1821,6 +1823,7 @@ examples:
|
|||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
"401":
|
"401":
|
||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
|
"200": {}
|
||||||
cancelServerActivities:
|
cancelServerActivities:
|
||||||
"":
|
"":
|
||||||
parameters:
|
parameters:
|
||||||
@@ -1896,7 +1899,7 @@ examples:
|
|||||||
speakeasy-default-get-geo-data:
|
speakeasy-default-get-geo-data:
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
application/json: {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}
|
application/json: {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": "802", "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}
|
||||||
"400":
|
"400":
|
||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
"401":
|
"401":
|
||||||
@@ -1928,12 +1931,17 @@ examples:
|
|||||||
"":
|
"":
|
||||||
parameters:
|
parameters:
|
||||||
query:
|
query:
|
||||||
X-Plex-Product: "Plex Web"
|
X-Plex-Product: Plex Web
|
||||||
|
X-Plex-Device: Linux
|
||||||
|
X-Plex-Version: 4.133.0
|
||||||
|
X-Plex-Platform: Chrome
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
|
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
|
||||||
"400":
|
"400":
|
||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
|
"201":
|
||||||
|
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": "802", "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
|
||||||
getTokenByPinId:
|
getTokenByPinId:
|
||||||
"":
|
"":
|
||||||
parameters:
|
parameters:
|
||||||
@@ -2187,6 +2195,7 @@ examples:
|
|||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
"401":
|
"401":
|
||||||
application/json: {"errors": []}
|
application/json: {"errors": []}
|
||||||
|
"200": {}
|
||||||
logLine:
|
logLine:
|
||||||
speakeasy-default-log-line:
|
speakeasy-default-log-line:
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
php:
|
php:
|
||||||
version: 0.8.0
|
version: 0.8.1
|
||||||
clientServerStatusCodesAsErrors: true
|
clientServerStatusCodesAsErrors: true
|
||||||
flattenGlobalSecurity: true
|
flattenGlobalSecurity: true
|
||||||
imports:
|
imports:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
speakeasyVersion: 1.397.2
|
speakeasyVersion: 1.399.2
|
||||||
sources:
|
sources:
|
||||||
my-source:
|
my-source:
|
||||||
sourceNamespace: my-source
|
sourceNamespace: my-source
|
||||||
@@ -9,8 +9,8 @@ sources:
|
|||||||
- main
|
- main
|
||||||
plexapi:
|
plexapi:
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:533fe97486e3fe2d84e890b7bbcdba4543d415e45181386154e011861f6da36f
|
sourceRevisionDigest: sha256:327e4a83099f910e042784ecc571fcbc4c9a6d8ba169b4ba181afb890a9936cc
|
||||||
sourceBlobDigest: sha256:f7e2709f52370dff16c1851a7a4e44a89f2e978e9cae335bffc10625950b3bd9
|
sourceBlobDigest: sha256:a652fa39754f0c22a1454f628fe84983b34662ee8a153a3461d50b833f8bc5c2
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- main
|
- main
|
||||||
@@ -18,10 +18,10 @@ targets:
|
|||||||
plexphp:
|
plexphp:
|
||||||
source: plexapi
|
source: plexapi
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:533fe97486e3fe2d84e890b7bbcdba4543d415e45181386154e011861f6da36f
|
sourceRevisionDigest: sha256:327e4a83099f910e042784ecc571fcbc4c9a6d8ba169b4ba181afb890a9936cc
|
||||||
sourceBlobDigest: sha256:f7e2709f52370dff16c1851a7a4e44a89f2e978e9cae335bffc10625950b3bd9
|
sourceBlobDigest: sha256:a652fa39754f0c22a1454f628fe84983b34662ee8a153a3461d50b833f8bc5c2
|
||||||
codeSamplesNamespace: code-samples-php-plexphp
|
codeSamplesNamespace: code-samples-php-plexphp
|
||||||
codeSamplesRevisionDigest: sha256:09c3a7a54c93941a76a6e929193153781dfd0468455ab492b9650f410d8e8c4c
|
codeSamplesRevisionDigest: sha256:a2463615fc3539369b1f3f0ba5ac302f6ff3566f1ddbd0194adf7a4a8dc098c0
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
|
|||||||
30
README.md
30
README.md
@@ -52,7 +52,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -202,21 +206,25 @@ try {
|
|||||||
<!-- Start Global Parameters [global-parameters] -->
|
<!-- Start Global Parameters [global-parameters] -->
|
||||||
## Global Parameters
|
## Global Parameters
|
||||||
|
|
||||||
A parameter is configured globally. This parameter may 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.
|
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. 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 `'gcgzw5rz2xovp84b4vha3a40'` at SDK initialization and then you do not have to pass the same value on calls to operations like `getServerResources`. 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 `ClientID` to `'gcgzw5rz2xovp84b4vha3a40'` at SDK initialization and then you do not have to pass the same value on calls to operations like `getServerResources`. 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
|
||||||
|
|
||||||
The following global parameter is available.
|
The following global parameters are available.
|
||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
| ---- | ---- |:--------:| ----------- |
|
| ---- | ---- |:--------:| ----------- |
|
||||||
| xPlexClientIdentifier | string | | The unique identifier for the client application
|
| clientID | string | | The unique identifier for the client application
|
||||||
This is used to track the client application and its usage
|
This is used to track the client application and its usage
|
||||||
(UUID, serial number, or other number unique per device)
|
(UUID, serial number, or other number unique per device)
|
||||||
|
|
|
|
||||||
|
| clientName | string | | The clientName parameter. |
|
||||||
|
| clientVersion | string | | The clientVersion parameter. |
|
||||||
|
| clientPlatform | string | | The clientPlatform parameter. |
|
||||||
|
| deviceName | string | | The deviceName parameter. |
|
||||||
|
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
@@ -235,7 +243,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -294,7 +306,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
12
RELEASES.md
12
RELEASES.md
@@ -592,4 +592,14 @@ Based on:
|
|||||||
### Generated
|
### Generated
|
||||||
- [php v0.8.0] .
|
- [php v0.8.0] .
|
||||||
### Releases
|
### Releases
|
||||||
- [Composer v0.8.0] https://packagist.org/packages/lukehagar/plex-api#v0.8.0 - .
|
- [Composer v0.8.0] https://packagist.org/packages/lukehagar/plex-api#v0.8.0 - .
|
||||||
|
|
||||||
|
## 2024-09-19 00:09:16
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.399.2 (2.416.6) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [php v0.8.1] .
|
||||||
|
### Releases
|
||||||
|
- [Composer v0.8.1] https://packagist.org/packages/lukehagar/plex-api#v0.8.1 - .
|
||||||
6
USAGE.md
6
USAGE.md
@@ -12,7 +12,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
449
codeSamples.yaml
449
codeSamples.yaml
@@ -21,7 +21,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -51,7 +55,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -81,7 +89,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -112,7 +124,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -144,7 +160,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -186,7 +206,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -217,7 +241,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -247,7 +275,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -278,7 +310,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -308,7 +344,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -338,7 +378,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -369,7 +413,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -401,7 +449,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -432,7 +484,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -462,7 +518,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -492,7 +552,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -522,7 +586,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -547,7 +615,11 @@ actions:
|
|||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -577,7 +649,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -608,7 +684,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -639,7 +719,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -670,7 +754,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -702,7 +790,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -728,7 +820,11 @@ actions:
|
|||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -759,7 +855,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -790,7 +890,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -821,7 +925,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -853,7 +961,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -891,7 +1003,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -923,7 +1039,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -961,7 +1081,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -991,7 +1115,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1022,7 +1150,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1053,7 +1185,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1089,7 +1225,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1121,7 +1261,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1153,7 +1297,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1185,7 +1333,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1217,7 +1369,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1257,7 +1413,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1288,7 +1448,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1321,7 +1485,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1351,7 +1519,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1382,7 +1554,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1413,7 +1589,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1445,14 +1625,19 @@ actions:
|
|||||||
require 'vendor/autoload.php';
|
require 'vendor/autoload.php';
|
||||||
|
|
||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
use LukeHagar\Plex_API\Models\Operations;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
$request = new Operations\GetPinRequest();
|
||||||
$response = $sdk->plex->getPin(false, 'gcgzw5rz2xovp84b4vha3a40', 'Plex Web');
|
$response = $sdk->plex->getPin($request);
|
||||||
|
|
||||||
if ($response->authPinContainer !== null) {
|
if ($response->authPinContainer !== null) {
|
||||||
// handle response
|
// handle response
|
||||||
@@ -1473,7 +1658,11 @@ actions:
|
|||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1505,7 +1694,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1537,7 +1730,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1574,7 +1771,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1605,7 +1806,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1636,7 +1841,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1667,7 +1876,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1698,7 +1911,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1730,7 +1947,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1761,7 +1982,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1793,7 +2018,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1824,7 +2053,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1855,7 +2088,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1887,7 +2124,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1918,7 +2159,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1948,7 +2193,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1979,7 +2228,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2010,7 +2263,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2041,7 +2298,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2072,7 +2333,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2103,7 +2368,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2133,7 +2402,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2165,7 +2438,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2197,7 +2474,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2228,7 +2509,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2258,7 +2543,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2284,7 +2573,11 @@ actions:
|
|||||||
use LukeHagar\Plex_API\Models\Operations;
|
use LukeHagar\Plex_API\Models\Operations;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -2320,7 +2613,11 @@ actions:
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Geo location data
|
|||||||
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
||||||
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
||||||
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
||||||
| `postalCode` | *int* | :heavy_check_mark: | The postal code of the location. | 802 |
|
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||||
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
||||||
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
||||||
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Geo location data
|
|||||||
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
||||||
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
||||||
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
||||||
| `postalCode` | *int* | :heavy_check_mark: | The postal code of the location. | 802 |
|
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||||
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
||||||
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
||||||
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
||||||
|
|||||||
@@ -9,13 +9,13 @@ Requests a new pin id used in the authentication flow
|
|||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
||||||
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
||||||
| `product` | *string* | :heavy_check_mark: | N/A | 0 |
|
| `product` | *string* | :heavy_check_mark: | N/A | Tautulli |
|
||||||
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
|
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
|
||||||
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
||||||
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | |
|
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
|
||||||
| `location` | [Operations\GeoData](../../Models/Operations/GeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
|
| `location` | [Operations\GeoData](../../Models/Operations/GeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
|
||||||
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
||||||
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
||||||
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
||||||
| `authToken` | *mixed* | :heavy_minus_sign: | N/A | |
|
| `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||||
@@ -6,5 +6,8 @@
|
|||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `strong` | *?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` | *?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/> | |
|
||||||
| `xPlexClientIdentifier` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `xPlexProduct` | *?string* | :heavy_minus_sign: | N/A | Plex Web |
|
| `clientName` | *?string* | :heavy_minus_sign: | N/A | Plex Web |
|
||||||
|
| `deviceName` | *?string* | :heavy_minus_sign: | N/A | Linux |
|
||||||
|
| `clientVersion` | *?string* | :heavy_minus_sign: | N/A | 4.133.0 |
|
||||||
|
| `clientPlatform` | *?string* | :heavy_minus_sign: | N/A | Chrome |
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `xPlexClientIdentifier` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `includeHttps` | [?Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
| `includeHttps` | [?Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
||||||
| `includeRelay` | [?Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
|
| `includeRelay` | [?Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
|
||||||
| `includeIPv6` | [?Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
| `includeIPv6` | [?Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
||||||
@@ -9,13 +9,13 @@ The Pin with a non-null authToken when it has been verified by the user
|
|||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
||||||
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
||||||
| `product` | *string* | :heavy_check_mark: | N/A | 0 |
|
| `product` | *string* | :heavy_check_mark: | N/A | Tautulli |
|
||||||
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
|
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
|
||||||
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
||||||
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | |
|
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
|
||||||
| `location` | [Operations\GetTokenByPinIdGeoData](../../Models/Operations/GetTokenByPinIdGeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
|
| `location` | [Operations\GetTokenByPinIdGeoData](../../Models/Operations/GetTokenByPinIdGeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
|
||||||
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
||||||
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
||||||
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
||||||
| `authToken` | *mixed* | :heavy_minus_sign: | N/A | |
|
| `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||||
@@ -13,7 +13,7 @@ Geo location data
|
|||||||
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
||||||
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
||||||
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
||||||
| `postalCode` | *int* | :heavy_check_mark: | The postal code of the location. | 802 |
|
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||||
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
||||||
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
||||||
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
||||||
| `xPlexClientIdentifier` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
@@ -5,5 +5,5 @@
|
|||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `xPlexClientIdentifier` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *?string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `requestBody` | [?Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |
|
| `requestBody` | [?Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |
|
||||||
@@ -35,7 +35,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -81,7 +85,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -33,7 +33,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -89,7 +93,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -142,7 +150,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -190,7 +202,11 @@ use LukeHagar\Plex_API;
|
|||||||
use LukeHagar\Plex_API\Models\Operations;
|
use LukeHagar\Plex_API\Models\Operations;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -213,7 +229,7 @@ try {
|
|||||||
|
|
||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description | Example |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `xPlexClientIdentifier` | *string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `requestBody` | [Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |
|
| `requestBody` | [Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |
|
||||||
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -83,7 +87,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -130,7 +138,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -182,7 +194,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -237,7 +253,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -30,7 +30,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -86,7 +90,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -39,7 +39,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -94,7 +98,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -154,7 +162,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -240,7 +252,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -294,7 +310,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -368,7 +388,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -431,7 +455,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -504,7 +532,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -559,7 +591,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -613,7 +649,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -669,7 +709,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -724,7 +768,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -32,7 +32,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -108,7 +112,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -164,7 +172,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -32,7 +32,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -85,7 +89,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -139,7 +147,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -195,7 +207,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -256,7 +272,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -43,7 +43,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -102,7 +106,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -158,7 +166,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -212,7 +224,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -266,7 +282,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -326,7 +346,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -381,7 +405,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -436,7 +464,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -493,7 +525,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -34,7 +34,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -86,7 +90,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -133,7 +141,11 @@ require 'vendor/autoload.php';
|
|||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -185,7 +197,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -232,7 +248,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -251,7 +271,7 @@ try {
|
|||||||
|
|
||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description | Example |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `xPlexClientIdentifier` | *string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `includeHttps` | [Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
| `includeHttps` | [Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
||||||
| `includeRelay` | [Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
|
| `includeRelay` | [Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
|
||||||
| `includeIPv6` | [Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
| `includeIPv6` | [Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
||||||
@@ -272,7 +292,7 @@ try {
|
|||||||
|
|
||||||
## getPin
|
## getPin
|
||||||
|
|
||||||
Retrieve a Pin from Plex.tv for authentication flows
|
Retrieve a Pin ID from Plex.tv to use for authentication flows
|
||||||
|
|
||||||
### Example Usage
|
### Example Usage
|
||||||
|
|
||||||
@@ -282,14 +302,19 @@ declare(strict_types=1);
|
|||||||
require 'vendor/autoload.php';
|
require 'vendor/autoload.php';
|
||||||
|
|
||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
use LukeHagar\Plex_API\Models\Operations;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
$request = new Operations\GetPinRequest();
|
||||||
$response = $sdk->plex->getPin(false, 'gcgzw5rz2xovp84b4vha3a40', 'Plex Web');
|
$response = $sdk->plex->getPin($request);
|
||||||
|
|
||||||
if ($response->authPinContainer !== null) {
|
if ($response->authPinContainer !== null) {
|
||||||
// handle response
|
// handle response
|
||||||
@@ -301,12 +326,10 @@ try {
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
||||||
| `strong` | *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/> | |
|
| `$request` | [Operations\GetPinRequest](../../Models/Operations/GetPinRequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
||||||
| `xPlexClientIdentifier` | *string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
||||||
| `xPlexProduct` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
|
||||||
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
|
|
||||||
@@ -334,7 +357,11 @@ require 'vendor/autoload.php';
|
|||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -354,7 +381,7 @@ try {
|
|||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description | Example |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
||||||
| `xPlexClientIdentifier` | *string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :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/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
|
|||||||
@@ -42,7 +42,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -101,7 +105,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -156,7 +164,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -36,7 +36,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -82,7 +86,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -128,7 +136,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -174,7 +186,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -215,7 +231,11 @@ require 'vendor/autoload.php';
|
|||||||
use LukeHagar\Plex_API;
|
use LukeHagar\Plex_API;
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->build();
|
->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -260,7 +280,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -308,7 +332,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -369,7 +397,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -422,7 +454,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -31,7 +31,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -78,7 +82,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -134,7 +142,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -180,7 +192,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -30,7 +30,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -83,7 +87,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -136,7 +144,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -31,7 +31,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -78,7 +82,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -133,7 +141,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -30,7 +30,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -95,7 +99,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -29,7 +29,11 @@ $security = new Components\Security(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$sdk = Plex_API\PlexAPI::builder()
|
$sdk = Plex_API\PlexAPI::builder()
|
||||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||||
|
->setClientName('Plex Web')
|
||||||
|
->setClientVersion('4.133.0')
|
||||||
|
->setClientPlatform('Chrome')
|
||||||
|
->setDeviceName('Linux')
|
||||||
->setSecurity($security)->build();
|
->setSecurity($security)->build();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -226,19 +226,19 @@ class Authentication
|
|||||||
*
|
*
|
||||||
* Sign in user with username and password and return user data with Plex authentication token
|
* Sign in user with username and password and return user data with Plex authentication token
|
||||||
*
|
*
|
||||||
* @param ?string $xPlexClientIdentifier
|
* @param ?string $clientID
|
||||||
* @param ?Operations\PostUsersSignInDataRequestBody $requestBody
|
* @param ?Operations\PostUsersSignInDataRequestBody $requestBody
|
||||||
* @param string $serverURL
|
* @param string $serverURL
|
||||||
* @return Operations\PostUsersSignInDataResponse
|
* @return Operations\PostUsersSignInDataResponse
|
||||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||||
*/
|
*/
|
||||||
public function postUsersSignInData(
|
public function postUsersSignInData(
|
||||||
?string $xPlexClientIdentifier = null,
|
?string $clientID = null,
|
||||||
?Operations\PostUsersSignInDataRequestBody $requestBody = null,
|
?Operations\PostUsersSignInDataRequestBody $requestBody = null,
|
||||||
?string $serverURL = null,
|
?string $serverURL = null,
|
||||||
): Operations\PostUsersSignInDataResponse {
|
): Operations\PostUsersSignInDataResponse {
|
||||||
$request = new Operations\PostUsersSignInDataRequest(
|
$request = new Operations\PostUsersSignInDataRequest(
|
||||||
xPlexClientIdentifier: $xPlexClientIdentifier,
|
clientID: $clientID,
|
||||||
requestBody: $requestBody,
|
requestBody: $requestBody,
|
||||||
);
|
);
|
||||||
$baseUrl = Utils\Utils::templateUrl(Authentication::POST_USERS_SIGN_IN_DATA_SERVERS[0], [
|
$baseUrl = Utils\Utils::templateUrl(Authentication::POST_USERS_SIGN_IN_DATA_SERVERS[0], [
|
||||||
|
|||||||
@@ -63,10 +63,10 @@ class GeoData
|
|||||||
/**
|
/**
|
||||||
* The postal code of the location.
|
* The postal code of the location.
|
||||||
*
|
*
|
||||||
* @var int $postalCode
|
* @var string $postalCode
|
||||||
*/
|
*/
|
||||||
#[\JMS\Serializer\Annotation\SerializedName('postal_code')]
|
#[\JMS\Serializer\Annotation\SerializedName('postal_code')]
|
||||||
public int $postalCode;
|
public string $postalCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates if the country has privacy restrictions.
|
* Indicates if the country has privacy restrictions.
|
||||||
@@ -107,13 +107,13 @@ class GeoData
|
|||||||
* @param string $city
|
* @param string $city
|
||||||
* @param bool $europeanUnionMember
|
* @param bool $europeanUnionMember
|
||||||
* @param string $timeZone
|
* @param string $timeZone
|
||||||
* @param int $postalCode
|
* @param string $postalCode
|
||||||
* @param bool $inPrivacyRestrictedCountry
|
* @param bool $inPrivacyRestrictedCountry
|
||||||
* @param bool $inPrivacyRestrictedRegion
|
* @param bool $inPrivacyRestrictedRegion
|
||||||
* @param string $subdivisions
|
* @param string $subdivisions
|
||||||
* @param string $coordinates
|
* @param string $coordinates
|
||||||
*/
|
*/
|
||||||
public function __construct(string $code, string $continentCode, string $country, string $city, bool $europeanUnionMember, string $timeZone, int $postalCode, bool $inPrivacyRestrictedCountry, bool $inPrivacyRestrictedRegion, string $subdivisions, string $coordinates)
|
public function __construct(string $code, string $continentCode, string $country, string $city, bool $europeanUnionMember, string $timeZone, string $postalCode, bool $inPrivacyRestrictedCountry, bool $inPrivacyRestrictedRegion, string $subdivisions, string $coordinates)
|
||||||
{
|
{
|
||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
$this->continentCode = $continentCode;
|
$this->continentCode = $continentCode;
|
||||||
|
|||||||
@@ -63,10 +63,10 @@ class GetGeoDataGeoData
|
|||||||
/**
|
/**
|
||||||
* The postal code of the location.
|
* The postal code of the location.
|
||||||
*
|
*
|
||||||
* @var int $postalCode
|
* @var string $postalCode
|
||||||
*/
|
*/
|
||||||
#[\JMS\Serializer\Annotation\SerializedName('postal_code')]
|
#[\JMS\Serializer\Annotation\SerializedName('postal_code')]
|
||||||
public int $postalCode;
|
public string $postalCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates if the country has privacy restrictions.
|
* Indicates if the country has privacy restrictions.
|
||||||
@@ -107,13 +107,13 @@ class GetGeoDataGeoData
|
|||||||
* @param string $city
|
* @param string $city
|
||||||
* @param bool $europeanUnionMember
|
* @param bool $europeanUnionMember
|
||||||
* @param string $timeZone
|
* @param string $timeZone
|
||||||
* @param int $postalCode
|
* @param string $postalCode
|
||||||
* @param bool $inPrivacyRestrictedCountry
|
* @param bool $inPrivacyRestrictedCountry
|
||||||
* @param bool $inPrivacyRestrictedRegion
|
* @param bool $inPrivacyRestrictedRegion
|
||||||
* @param string $subdivisions
|
* @param string $subdivisions
|
||||||
* @param string $coordinates
|
* @param string $coordinates
|
||||||
*/
|
*/
|
||||||
public function __construct(string $code, string $continentCode, string $country, string $city, bool $europeanUnionMember, string $timeZone, int $postalCode, bool $inPrivacyRestrictedCountry, bool $inPrivacyRestrictedRegion, string $subdivisions, string $coordinates)
|
public function __construct(string $code, string $continentCode, string $country, string $city, bool $europeanUnionMember, string $timeZone, string $postalCode, bool $inPrivacyRestrictedCountry, bool $inPrivacyRestrictedRegion, string $subdivisions, string $coordinates)
|
||||||
{
|
{
|
||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
$this->continentCode = $continentCode;
|
$this->continentCode = $continentCode;
|
||||||
|
|||||||
@@ -88,12 +88,11 @@ class GetPinAuthPinContainer
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @var mixed $authToken
|
* @var ?string $authToken
|
||||||
*/
|
*/
|
||||||
#[\JMS\Serializer\Annotation\SerializedName('authToken')]
|
#[\JMS\Serializer\Annotation\SerializedName('authToken')]
|
||||||
#[\JMS\Serializer\Annotation\Type('mixed')]
|
|
||||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||||
public mixed $authToken = null;
|
public ?string $authToken = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -115,10 +114,10 @@ class GetPinAuthPinContainer
|
|||||||
* @param int $expiresIn
|
* @param int $expiresIn
|
||||||
* @param \DateTime $createdAt
|
* @param \DateTime $createdAt
|
||||||
* @param \DateTime $expiresAt
|
* @param \DateTime $expiresAt
|
||||||
* @param mixed $authToken
|
* @param ?string $authToken
|
||||||
* @param mixed $newRegistration
|
* @param mixed $newRegistration
|
||||||
*/
|
*/
|
||||||
public function __construct(int $id, string $code, string $product, bool $trusted, string $qr, string $clientIdentifier, GeoData $location, int $expiresIn, \DateTime $createdAt, \DateTime $expiresAt, mixed $authToken = null, mixed $newRegistration = null)
|
public function __construct(int $id, string $code, string $product, bool $trusted, string $qr, string $clientIdentifier, GeoData $location, int $expiresIn, \DateTime $createdAt, \DateTime $expiresAt, ?string $authToken = null, mixed $newRegistration = null)
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
|
|||||||
@@ -30,27 +30,54 @@ class GetPinRequest
|
|||||||
* (UUID, serial number, or other number unique per device)
|
* (UUID, serial number, or other number unique per device)
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @var ?string $xPlexClientIdentifier
|
* @var ?string $clientID
|
||||||
*/
|
*/
|
||||||
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
||||||
public ?string $xPlexClientIdentifier = null;
|
public ?string $clientID = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @var ?string $xPlexProduct
|
* @var ?string $clientName
|
||||||
*/
|
*/
|
||||||
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Product')]
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Product')]
|
||||||
public ?string $xPlexProduct = null;
|
public ?string $clientName = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var ?string $deviceName
|
||||||
|
*/
|
||||||
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Device')]
|
||||||
|
public ?string $deviceName = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var ?string $clientVersion
|
||||||
|
*/
|
||||||
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Version')]
|
||||||
|
public ?string $clientVersion = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var ?string $clientPlatform
|
||||||
|
*/
|
||||||
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Platform')]
|
||||||
|
public ?string $clientPlatform = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ?bool $strong
|
* @param ?bool $strong
|
||||||
* @param ?string $xPlexClientIdentifier
|
* @param ?string $clientID
|
||||||
* @param ?string $xPlexProduct
|
* @param ?string $clientName
|
||||||
|
* @param ?string $deviceName
|
||||||
|
* @param ?string $clientVersion
|
||||||
|
* @param ?string $clientPlatform
|
||||||
*/
|
*/
|
||||||
public function __construct(?bool $strong = null, ?string $xPlexClientIdentifier = null, ?string $xPlexProduct = null)
|
public function __construct(?bool $strong = null, ?string $clientID = null, ?string $clientName = null, ?string $deviceName = null, ?string $clientVersion = null, ?string $clientPlatform = null)
|
||||||
{
|
{
|
||||||
$this->strong = $strong;
|
$this->strong = $strong;
|
||||||
$this->xPlexClientIdentifier = $xPlexClientIdentifier;
|
$this->clientID = $clientID;
|
||||||
$this->xPlexProduct = $xPlexProduct;
|
$this->clientName = $clientName;
|
||||||
|
$this->deviceName = $deviceName;
|
||||||
|
$this->clientVersion = $clientVersion;
|
||||||
|
$this->clientPlatform = $clientPlatform;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,10 +18,10 @@ class GetServerResourcesRequest
|
|||||||
* (UUID, serial number, or other number unique per device)
|
* (UUID, serial number, or other number unique per device)
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @var ?string $xPlexClientIdentifier
|
* @var ?string $clientID
|
||||||
*/
|
*/
|
||||||
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
||||||
public ?string $xPlexClientIdentifier = null;
|
public ?string $clientID = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Include Https entries in the results
|
* Include Https entries in the results
|
||||||
@@ -51,14 +51,14 @@ class GetServerResourcesRequest
|
|||||||
public ?IncludeIPv6 $includeIPv6 = null;
|
public ?IncludeIPv6 $includeIPv6 = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ?string $xPlexClientIdentifier
|
* @param ?string $clientID
|
||||||
* @param ?IncludeHttps $includeHttps
|
* @param ?IncludeHttps $includeHttps
|
||||||
* @param ?IncludeRelay $includeRelay
|
* @param ?IncludeRelay $includeRelay
|
||||||
* @param ?IncludeIPv6 $includeIPv6
|
* @param ?IncludeIPv6 $includeIPv6
|
||||||
*/
|
*/
|
||||||
public function __construct(?string $xPlexClientIdentifier = null, ?IncludeHttps $includeHttps = null, ?IncludeRelay $includeRelay = null, ?IncludeIPv6 $includeIPv6 = null)
|
public function __construct(?string $clientID = null, ?IncludeHttps $includeHttps = null, ?IncludeRelay $includeRelay = null, ?IncludeIPv6 $includeIPv6 = null)
|
||||||
{
|
{
|
||||||
$this->xPlexClientIdentifier = $xPlexClientIdentifier;
|
$this->clientID = $clientID;
|
||||||
$this->includeHttps = $includeHttps;
|
$this->includeHttps = $includeHttps;
|
||||||
$this->includeRelay = $includeRelay;
|
$this->includeRelay = $includeRelay;
|
||||||
$this->includeIPv6 = $includeIPv6;
|
$this->includeIPv6 = $includeIPv6;
|
||||||
|
|||||||
@@ -88,12 +88,11 @@ class GetTokenByPinIdAuthPinContainer
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @var mixed $authToken
|
* @var ?string $authToken
|
||||||
*/
|
*/
|
||||||
#[\JMS\Serializer\Annotation\SerializedName('authToken')]
|
#[\JMS\Serializer\Annotation\SerializedName('authToken')]
|
||||||
#[\JMS\Serializer\Annotation\Type('mixed')]
|
|
||||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||||
public mixed $authToken = null;
|
public ?string $authToken = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -115,10 +114,10 @@ class GetTokenByPinIdAuthPinContainer
|
|||||||
* @param int $expiresIn
|
* @param int $expiresIn
|
||||||
* @param \DateTime $createdAt
|
* @param \DateTime $createdAt
|
||||||
* @param \DateTime $expiresAt
|
* @param \DateTime $expiresAt
|
||||||
* @param mixed $authToken
|
* @param ?string $authToken
|
||||||
* @param mixed $newRegistration
|
* @param mixed $newRegistration
|
||||||
*/
|
*/
|
||||||
public function __construct(int $id, string $code, string $product, bool $trusted, string $qr, string $clientIdentifier, GetTokenByPinIdGeoData $location, int $expiresIn, \DateTime $createdAt, \DateTime $expiresAt, mixed $authToken = null, mixed $newRegistration = null)
|
public function __construct(int $id, string $code, string $product, bool $trusted, string $qr, string $clientIdentifier, GetTokenByPinIdGeoData $location, int $expiresIn, \DateTime $createdAt, \DateTime $expiresAt, ?string $authToken = null, mixed $newRegistration = null)
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
|
|||||||
@@ -63,10 +63,10 @@ class GetTokenByPinIdGeoData
|
|||||||
/**
|
/**
|
||||||
* The postal code of the location.
|
* The postal code of the location.
|
||||||
*
|
*
|
||||||
* @var int $postalCode
|
* @var string $postalCode
|
||||||
*/
|
*/
|
||||||
#[\JMS\Serializer\Annotation\SerializedName('postal_code')]
|
#[\JMS\Serializer\Annotation\SerializedName('postal_code')]
|
||||||
public int $postalCode;
|
public string $postalCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates if the country has privacy restrictions.
|
* Indicates if the country has privacy restrictions.
|
||||||
@@ -107,13 +107,13 @@ class GetTokenByPinIdGeoData
|
|||||||
* @param string $city
|
* @param string $city
|
||||||
* @param bool $europeanUnionMember
|
* @param bool $europeanUnionMember
|
||||||
* @param string $timeZone
|
* @param string $timeZone
|
||||||
* @param int $postalCode
|
* @param string $postalCode
|
||||||
* @param bool $inPrivacyRestrictedCountry
|
* @param bool $inPrivacyRestrictedCountry
|
||||||
* @param bool $inPrivacyRestrictedRegion
|
* @param bool $inPrivacyRestrictedRegion
|
||||||
* @param string $subdivisions
|
* @param string $subdivisions
|
||||||
* @param string $coordinates
|
* @param string $coordinates
|
||||||
*/
|
*/
|
||||||
public function __construct(string $code, string $continentCode, string $country, string $city, bool $europeanUnionMember, string $timeZone, int $postalCode, bool $inPrivacyRestrictedCountry, bool $inPrivacyRestrictedRegion, string $subdivisions, string $coordinates)
|
public function __construct(string $code, string $continentCode, string $country, string $city, bool $europeanUnionMember, string $timeZone, string $postalCode, bool $inPrivacyRestrictedCountry, bool $inPrivacyRestrictedRegion, string $subdivisions, string $coordinates)
|
||||||
{
|
{
|
||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
$this->continentCode = $continentCode;
|
$this->continentCode = $continentCode;
|
||||||
|
|||||||
@@ -26,18 +26,18 @@ class GetTokenByPinIdRequest
|
|||||||
* (UUID, serial number, or other number unique per device)
|
* (UUID, serial number, or other number unique per device)
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @var ?string $xPlexClientIdentifier
|
* @var ?string $clientID
|
||||||
*/
|
*/
|
||||||
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
||||||
public ?string $xPlexClientIdentifier = null;
|
public ?string $clientID = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $pinID
|
* @param int $pinID
|
||||||
* @param ?string $xPlexClientIdentifier
|
* @param ?string $clientID
|
||||||
*/
|
*/
|
||||||
public function __construct(int $pinID, ?string $xPlexClientIdentifier = null)
|
public function __construct(int $pinID, ?string $clientID = null)
|
||||||
{
|
{
|
||||||
$this->pinID = $pinID;
|
$this->pinID = $pinID;
|
||||||
$this->xPlexClientIdentifier = $xPlexClientIdentifier;
|
$this->clientID = $clientID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,10 +18,10 @@ class PostUsersSignInDataRequest
|
|||||||
* (UUID, serial number, or other number unique per device)
|
* (UUID, serial number, or other number unique per device)
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @var ?string $xPlexClientIdentifier
|
* @var ?string $clientID
|
||||||
*/
|
*/
|
||||||
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=X-Plex-Client-Identifier')]
|
||||||
public ?string $xPlexClientIdentifier = null;
|
public ?string $clientID = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Login credentials
|
* Login credentials
|
||||||
@@ -32,12 +32,12 @@ class PostUsersSignInDataRequest
|
|||||||
public ?PostUsersSignInDataRequestBody $requestBody = null;
|
public ?PostUsersSignInDataRequestBody $requestBody = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ?string $xPlexClientIdentifier
|
* @param ?string $clientID
|
||||||
* @param ?PostUsersSignInDataRequestBody $requestBody
|
* @param ?PostUsersSignInDataRequestBody $requestBody
|
||||||
*/
|
*/
|
||||||
public function __construct(?string $xPlexClientIdentifier = null, ?PostUsersSignInDataRequestBody $requestBody = null)
|
public function __construct(?string $clientID = null, ?PostUsersSignInDataRequestBody $requestBody = null)
|
||||||
{
|
{
|
||||||
$this->xPlexClientIdentifier = $xPlexClientIdentifier;
|
$this->clientID = $clientID;
|
||||||
$this->requestBody = $requestBody;
|
$this->requestBody = $requestBody;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
29
src/Plex.php
29
src/Plex.php
@@ -311,7 +311,7 @@ class Plex
|
|||||||
*
|
*
|
||||||
* Get Plex server access tokens and server connections
|
* Get Plex server access tokens and server connections
|
||||||
*
|
*
|
||||||
* @param ?string $xPlexClientIdentifier
|
* @param ?string $clientID
|
||||||
* @param ?Operations\IncludeHttps $includeHttps
|
* @param ?Operations\IncludeHttps $includeHttps
|
||||||
* @param ?Operations\IncludeRelay $includeRelay
|
* @param ?Operations\IncludeRelay $includeRelay
|
||||||
* @param ?Operations\IncludeIPv6 $includeIPv6
|
* @param ?Operations\IncludeIPv6 $includeIPv6
|
||||||
@@ -320,14 +320,14 @@ class Plex
|
|||||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||||
*/
|
*/
|
||||||
public function getServerResources(
|
public function getServerResources(
|
||||||
?string $xPlexClientIdentifier = null,
|
?string $clientID = null,
|
||||||
?Operations\IncludeHttps $includeHttps = null,
|
?Operations\IncludeHttps $includeHttps = null,
|
||||||
?Operations\IncludeRelay $includeRelay = null,
|
?Operations\IncludeRelay $includeRelay = null,
|
||||||
?Operations\IncludeIPv6 $includeIPv6 = null,
|
?Operations\IncludeIPv6 $includeIPv6 = null,
|
||||||
?string $serverURL = null,
|
?string $serverURL = null,
|
||||||
): Operations\GetServerResourcesResponse {
|
): Operations\GetServerResourcesResponse {
|
||||||
$request = new Operations\GetServerResourcesRequest(
|
$request = new Operations\GetServerResourcesRequest(
|
||||||
xPlexClientIdentifier: $xPlexClientIdentifier,
|
clientID: $clientID,
|
||||||
includeHttps: $includeHttps,
|
includeHttps: $includeHttps,
|
||||||
includeRelay: $includeRelay,
|
includeRelay: $includeRelay,
|
||||||
includeIPv6: $includeIPv6,
|
includeIPv6: $includeIPv6,
|
||||||
@@ -391,26 +391,17 @@ class Plex
|
|||||||
/**
|
/**
|
||||||
* Get a Pin
|
* Get a Pin
|
||||||
*
|
*
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin ID from Plex.tv to use for authentication flows
|
||||||
*
|
*
|
||||||
* @param ?bool $strong
|
* @param Operations\GetPinRequest $request
|
||||||
* @param ?string $xPlexClientIdentifier
|
|
||||||
* @param ?string $xPlexProduct
|
|
||||||
* @param string $serverURL
|
* @param string $serverURL
|
||||||
* @return Operations\GetPinResponse
|
* @return Operations\GetPinResponse
|
||||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||||
*/
|
*/
|
||||||
public function getPin(
|
public function getPin(
|
||||||
?bool $strong = null,
|
?Operations\GetPinRequest $request,
|
||||||
?string $xPlexClientIdentifier = null,
|
|
||||||
?string $xPlexProduct = null,
|
|
||||||
?string $serverURL = null,
|
?string $serverURL = null,
|
||||||
): Operations\GetPinResponse {
|
): Operations\GetPinResponse {
|
||||||
$request = new Operations\GetPinRequest(
|
|
||||||
strong: $strong,
|
|
||||||
xPlexClientIdentifier: $xPlexClientIdentifier,
|
|
||||||
xPlexProduct: $xPlexProduct,
|
|
||||||
);
|
|
||||||
$baseUrl = Utils\Utils::templateUrl(Plex::GET_PIN_SERVERS[0], [
|
$baseUrl = Utils\Utils::templateUrl(Plex::GET_PIN_SERVERS[0], [
|
||||||
]);
|
]);
|
||||||
if (! empty($serverURL)) {
|
if (! empty($serverURL)) {
|
||||||
@@ -426,7 +417,7 @@ class Plex
|
|||||||
$contentType = $httpResponse->getHeader('Content-Type')[0] ?? '';
|
$contentType = $httpResponse->getHeader('Content-Type')[0] ?? '';
|
||||||
|
|
||||||
$statusCode = $httpResponse->getStatusCode();
|
$statusCode = $httpResponse->getStatusCode();
|
||||||
if ($statusCode == 200) {
|
if ($statusCode == 201) {
|
||||||
if (Utils\Utils::matchContentType($contentType, 'application/json')) {
|
if (Utils\Utils::matchContentType($contentType, 'application/json')) {
|
||||||
$serializer = Utils\JSON::createSerializer();
|
$serializer = Utils\JSON::createSerializer();
|
||||||
$obj = $serializer->deserialize((string) $httpResponse->getBody(), '\LukeHagar\Plex_API\Models\Operations\GetPinAuthPinContainer', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true));
|
$obj = $serializer->deserialize((string) $httpResponse->getBody(), '\LukeHagar\Plex_API\Models\Operations\GetPinAuthPinContainer', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true));
|
||||||
@@ -462,19 +453,19 @@ class Plex
|
|||||||
* Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
* Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
||||||
*
|
*
|
||||||
* @param int $pinID
|
* @param int $pinID
|
||||||
* @param ?string $xPlexClientIdentifier
|
* @param ?string $clientID
|
||||||
* @param string $serverURL
|
* @param string $serverURL
|
||||||
* @return Operations\GetTokenByPinIdResponse
|
* @return Operations\GetTokenByPinIdResponse
|
||||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||||
*/
|
*/
|
||||||
public function getTokenByPinId(
|
public function getTokenByPinId(
|
||||||
int $pinID,
|
int $pinID,
|
||||||
?string $xPlexClientIdentifier = null,
|
?string $clientID = null,
|
||||||
?string $serverURL = null,
|
?string $serverURL = null,
|
||||||
): Operations\GetTokenByPinIdResponse {
|
): Operations\GetTokenByPinIdResponse {
|
||||||
$request = new Operations\GetTokenByPinIdRequest(
|
$request = new Operations\GetTokenByPinIdRequest(
|
||||||
pinID: $pinID,
|
pinID: $pinID,
|
||||||
xPlexClientIdentifier: $xPlexClientIdentifier,
|
clientID: $clientID,
|
||||||
);
|
);
|
||||||
$baseUrl = Utils\Utils::templateUrl(Plex::GET_TOKEN_BY_PIN_ID_SERVERS[0], [
|
$baseUrl = Utils\Utils::templateUrl(Plex::GET_TOKEN_BY_PIN_ID_SERVERS[0], [
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -142,18 +142,82 @@ class PlexAPIBuilder
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* setXPlexClientIdentifier is used to configure the X-Plex-Client-Identifier parameter for the SDK.
|
* setClientID is used to configure the ClientID parameter for the SDK.
|
||||||
*
|
*
|
||||||
* @param string $xPlexClientIdentifier
|
* @param string $clientID
|
||||||
* @return PlexAPIBuilder
|
* @return PlexAPIBuilder
|
||||||
*/
|
*/
|
||||||
public function setXPlexClientIdentifier(string $xPlexClientIdentifier): PlexAPIBuilder
|
public function setClientID(string $clientID): PlexAPIBuilder
|
||||||
{
|
{
|
||||||
if (! array_key_exists('queryParam', $this->sdkConfig->globals['parameters'])) {
|
if (! array_key_exists('queryParam', $this->sdkConfig->globals['parameters'])) {
|
||||||
$this->sdkConfig->globals['parameters']['queryParam'] = [];
|
$this->sdkConfig->globals['parameters']['queryParam'] = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->sdkConfig->globals['parameters']['queryParam']['xPlexClientIdentifier'] = $xPlexClientIdentifier;
|
$this->sdkConfig->globals['parameters']['queryParam']['clientID'] = $clientID;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* setClientName is used to configure the ClientName parameter for the SDK.
|
||||||
|
*
|
||||||
|
* @param string $clientName
|
||||||
|
* @return PlexAPIBuilder
|
||||||
|
*/
|
||||||
|
public function setClientName(string $clientName): PlexAPIBuilder
|
||||||
|
{
|
||||||
|
if (! array_key_exists('queryParam', $this->sdkConfig->globals['parameters'])) {
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam'] = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam']['clientName'] = $clientName;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* setClientVersion is used to configure the ClientVersion parameter for the SDK.
|
||||||
|
*
|
||||||
|
* @param string $clientVersion
|
||||||
|
* @return PlexAPIBuilder
|
||||||
|
*/
|
||||||
|
public function setClientVersion(string $clientVersion): PlexAPIBuilder
|
||||||
|
{
|
||||||
|
if (! array_key_exists('queryParam', $this->sdkConfig->globals['parameters'])) {
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam'] = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam']['clientVersion'] = $clientVersion;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* setClientPlatform is used to configure the ClientPlatform parameter for the SDK.
|
||||||
|
*
|
||||||
|
* @param string $clientPlatform
|
||||||
|
* @return PlexAPIBuilder
|
||||||
|
*/
|
||||||
|
public function setClientPlatform(string $clientPlatform): PlexAPIBuilder
|
||||||
|
{
|
||||||
|
if (! array_key_exists('queryParam', $this->sdkConfig->globals['parameters'])) {
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam'] = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam']['clientPlatform'] = $clientPlatform;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* setDeviceName is used to configure the DeviceName parameter for the SDK.
|
||||||
|
*
|
||||||
|
* @param string $deviceName
|
||||||
|
* @return PlexAPIBuilder
|
||||||
|
*/
|
||||||
|
public function setDeviceName(string $deviceName): PlexAPIBuilder
|
||||||
|
{
|
||||||
|
if (! array_key_exists('queryParam', $this->sdkConfig->globals['parameters'])) {
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam'] = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->sdkConfig->globals['parameters']['queryParam']['deviceName'] = $deviceName;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,11 +36,11 @@ class SDKConfiguration
|
|||||||
|
|
||||||
public string $openapiDocVersion = '0.0.3';
|
public string $openapiDocVersion = '0.0.3';
|
||||||
|
|
||||||
public string $sdkVersion = '0.8.0';
|
public string $sdkVersion = '0.8.1';
|
||||||
|
|
||||||
public string $genVersion = '2.415.8';
|
public string $genVersion = '2.416.6';
|
||||||
|
|
||||||
public string $userAgent = 'speakeasy-sdk/php 0.8.0 2.415.8 0.0.3 lukehagar/plex-api';
|
public string $userAgent = 'speakeasy-sdk/php 0.8.1 2.416.6 0.0.3 lukehagar/plex-api';
|
||||||
/** @var array<string, array<string, array<string, mixed>>> */
|
/** @var array<string, array<string, array<string, mixed>>> */
|
||||||
public ?array $globals = [
|
public ?array $globals = [
|
||||||
'parameters' => [],
|
'parameters' => [],
|
||||||
|
|||||||
Reference in New Issue
Block a user