outsideopen/kaseya-api-client

Client library for Kaseya Rest API

dev-master 2021-06-15 16:54 UTC

This package is auto-updated.

Last update: 2024-04-15 22:47:06 UTC


README

The Kaseya REST API Client Library enables you to work with Kaseya's REST API.

These client libraries are not officially supported by Kaseya.

Requirements

Installation

You can use Composer

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

Examples

Basic Example

// 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";
}

How Do I Contribute?

Please see the contributing page for more information. In particular, we love pull requests.