unisharp/gandi-api

Simple PHP library for the Gandi API.

v1.3.2 2017-07-17 04:45 UTC

This package is auto-updated.

Last update: 2020-09-13 14:02:25 UTC


README

Simple PHP library for the Gandi API.

Latest Stable Version Latest Unstable Version Total Downloads License

Dependencies

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