Gandi API
1.2.0
Gandi API用のシンプルなPHPライブラリ。
推奨される方法は、作曲家によるものです。
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