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