unisharp / gandi-api
用于Gandi API的简单PHP库。
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
用于Gandi API的简单PHP库。Gandi API.
依赖关系
- PHP 5.4+
- zend-xmlrpc
- Gandi API密钥
安装
推荐使用Composer进行安装。
$ composer require narno/gandi-api
使用方法
<?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(); }
许可证
Gandi-API是在MIT许可证下免费分发的开源软件。MIT许可证.
© 2017 Arnaud Ligny