The Kaseya REST API Client Library enables you to work with Kaseya's REST API.
These client libraries are not officially supported by Kaseya.
You can use Composer
The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this library:
composer require outsideopen/kaseya-api-client
// include your composer dependencies
require_once 'vendor/autoload.php';
$client = new Kaseya\Client("kaseya.example.com", "agent", "agent-password");
$service = new Kaseya\Service\Asset($client);
$results = $service->agents->all();
foreach ($results as $item) {
echo $item['AgentId'], "<br /> \n";
}
Please see the contributing page for more information. In particular, we love pull requests.