narno/gandi-api

Simple PHP library for the Gandi API.

1.2.0 2016-08-21 23:14 UTC

This package is auto-updated.

Last update: 2024-04-06 07:14:26 UTC


README

A simple PHP library for the Gandi API.

Latest Stable 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

Free software distributed under the terms of the MIT license.

© Arnaud Ligny