dariusaurich / nexosystems-api
A full-featured implementation of NexoSystems
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/dariusaurich/nexosystems-api
Requires
- php: >=7.4
- ext-json: *
- guzzlehttp/guzzle: *
Requires (Dev)
- phpunit/phpunit: ^9.5.25
README
This PHP 7.4+ library allows you to communicate with the NexoSystems-API.
-> CLIENT WIRD NICHT MEHR GEUPDATED!
You can find the full API documentation here!
Getting Started
Recommended installation is using Composer!
In the root of your project execute the following:
$ composer require dariusaurich/nexosystems-api
Or add this to your composer.json file:
{
"require": {
"dariusaurich/nexosystems-api": "dev-main"
}
}
Then perform the installation:
$ composer install --no-dev
Examples
Creating the NexoSystems-Api main object:
<?php // Require the autoloader require_once 'vendor/autoload.php'; // Use the library namespace use NexoSystems\NexoSystems; // Then simply pass your API-Token when creating the API client object. $client = new NexoSystems('API-Token'); // Then you are able to perform a request var_dump($client->kvm()->status('serviceid')); ?>