narno/zendservice-gandi

此包已被废弃,不再维护。作者建议使用 narno/gandi-api 包。

用于 Gandi API 的简单 PHP 库。

1.2.0 2016-08-21 23:14 UTC

This package is auto-updated.

Last update: 2022-03-06 02:32:45 UTC


README

这是一个用于 Gandi API 的简单 PHP 库。

Latest Stable Version Total Downloads License

依赖关系

安装

建议通过 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();
}

许可协议

根据 MIT 许可协议 发布的自由软件。

© Arnaud Ligny