Skip to content

Commit 47b5a03

Browse files
authored
Update README.md
1 parent 53a2a6f commit 47b5a03

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

@@ -12,21 +12,21 @@
1212

1313
The 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

2424
try {
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) {
@@ -36,6 +36,6 @@ try {
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

4141
Copyright (c) 2011-2016 Arnaud Ligny

0 commit comments

Comments
 (0)