dariusaurich / nexosystems-api
A full-featured implementation of NexoSystems
1.0.0
2023-02-19 19:09 UTC
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')); ?>