File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- # ZendService_Gandi
1+ # Gandi-API
22
3- * ZendService_Gandi * provides a simple PHP library for the [ Gandi API] ( http://doc.rpc.gandi.net/overview.html ) .
3+ * Gandi-API * provides a simple PHP library for the [ Gandi API] ( http://doc.rpc.gandi.net/overview.html ) .
44
55## Dependencies
66
1212
1313The recommended way is through [ Composer] ( https://getcomposer.org ) .
1414```
15- $ composer require narno/zendservice- gandi
15+ $ composer require narno/gandi-api
1616```
1717
1818## Usage
1919
2020``` php
2121<?php
22- use ZendService \Gandi\Gandi ;
22+ use Narno \Gandi\Api as GandiAPI ;
2323
2424try {
25- $gandi = new Gandi ();
25+ $api = new GandiAPI ();
2626 // set API key
2727 $params = ['your_api_key'];
2828 // fetches account informations...
29- $account = $gandi ->account->info($params);
29+ $account = $api ->account->info($params);
3030 // and print
3131 print_r($account);
3232} catch (\Exception $e) {
3636
3737## License
3838
39- * ZendService_Gandi * is released under the terms of the [ MIT license] ( http://opensource.org/licenses/MIT ) .
39+ * Gandi-API * is released under the terms of the [ MIT license] ( http://opensource.org/licenses/MIT ) .
4040
4141Copyright (c) 2011-2016 Arnaud Ligny
You can’t perform that action at this time.
0 commit comments