unisharp / gandi-api
Simple PHP library for the Gandi API.
v1.3.2
2017-07-17 04:45 UTC
Requires
- php: ^5.4|^7.0
- zendframework/zend-xmlrpc: ^2.6
Replaces
- narno/zendservice-gandi: v1.3.2
README
Simple PHP library for the Gandi API.
Dependencies
- PHP 5.4+
- zend-xmlrpc
- Gandi API key
Installation
The recommended way is through Composer.
$ composer require narno/gandi-api
Usage
<?php use Narno\Gandi\Api as GandiAPI; try { $api = new GandiAPI(); // set API key $params = ['your_api_key']; // fetches account informations... $account = $api->account->info($params); // and print print_r($account); } catch (\Exception $e) { echo $e->getMessage(); }
License
Gandi-API is a free software distributed under the terms of the MIT license.
© 2017 Arnaud Ligny