narno / gandi-api
Simple PHP library for the Gandi API.
Installs: 19 405
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: ^5.4|^7.0
- zendframework/zend-xmlrpc: ^2.6
Replaces
- narno/zendservice-gandi: 1.2.0
This package is auto-updated.
Last update: 2024-11-06 08:18:12 UTC
README
A 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
Free software distributed under the terms of the MIT license.