Skip to content

ApertureLab/Gandi-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gandi-API

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