outsideopen / kaseya-api-client
Client library for Kaseya Rest API
dev-master
2021-06-15 16:54 UTC
Requires
- php: >=7.3
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.2
- monolog/monolog: ^2.2
- phpseclib/phpseclib: ^2.0
This package is auto-updated.
Last update: 2024-10-15 23:47:51 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.