narno/zendservice-gandi

This package is abandoned and no longer maintained. The author suggests using the narno/gandi-api package instead.

Simple PHP library for the Gandi API.

Installs: 2 796

Dependents: 0

Suggesters: 0

Security: 0

Stars: 16

Watchers: 3

Forks: 2

Open Issues: 0

pkg:composer/narno/zendservice-gandi

1.2.0 2016-08-21 23:14 UTC

This package is auto-updated.

Last update: 2022-03-06 02:32:45 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