ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.129.1

This commit is contained in:
speakeasybot
2023-12-25 00:55:52 +00:00
parent 9dbcd511d4
commit 2d0192cf15
628 changed files with 25014 additions and 3 deletions

29
USAGE.md Normal file
View File

@@ -0,0 +1,29 @@
<!-- Start SDK Example Usage [usage] -->
```php
<?php
declare(strict_types=1);
require_once 'vendor/autoload.php';
use LukeHagar\Plex_API;
use LukeHagar\Plex_API\Models\Components;
$security = new Components\Security();
$security->accessToken = '<YOUR_API_KEY_HERE>';
$sdk = Plex_API\PlexAPI::builder()
->setSecurity($security)
->build();
try {
$response = $sdk->server->getServerCapabilities();
if ($response->twoHundredApplicationJsonObject !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
```
<!-- End SDK Example Usage [usage] -->