Authorizations
Response
200 - application/json
declare(strict_types=1);
require 'vendor/autoload.php';
use LukeHagar\Plex_API;
$sdk = Plex_API\PlexAPI::builder()
->setSecurity(
'<YOUR_API_KEY_HERE>'
)
->build();
$response = $sdk->butler->getButlerTasks(
);
if ($response->object !== null) {
// handle response
}{
"ButlerTasks": {
"ButlerTask": [
{
"description": "<string>",
"enabled": true,
"interval": 123,
"name": "<string>",
"scheduleRandomized": true,
"title": "<string>"
}
]
}
}Get the list of butler tasks and their scheduling
declare(strict_types=1);
require 'vendor/autoload.php';
use LukeHagar\Plex_API;
$sdk = Plex_API\PlexAPI::builder()
->setSecurity(
'<YOUR_API_KEY_HERE>'
)
->build();
$response = $sdk->butler->getButlerTasks(
);
if ($response->object !== null) {
// handle response
}{
"ButlerTasks": {
"ButlerTask": [
{
"description": "<string>",
"enabled": true,
"interval": 123,
"name": "<string>",
"scheduleRandomized": true,
"title": "<string>"
}
]
}
}Show child attributes
Was this page helpful?