You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-27Lines changed: 29 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,9 @@ A php package for easy integration of the **Domainrobot API** powered by [InterN
19
19
20
20
## Preamble
21
21
22
-
This Maven package is not available via known repositories. It must be manually installed into a local Maven repository.
22
+
This composer package can be used within every composer project, including projects based on frameworks like [Laravel](https://laravel.com), [CodeIgniter](https://codeigniter.com/), [Symfony](https://symfony.com/) and many more.
23
+
24
+
**Note:** Feel free to contribute by creating pull requests or file an issue for bugs, questions and feature requests.
@@ -43,11 +45,11 @@ Before you can interact with the API you need to specify your authentication cre
43
45
* Demo System: <https://api.demo.autodns.com/v1>
44
46
45
47
```php
46
-
use IXDomainRobot\DomainRobot;
48
+
use Domainrobot\Domainrobot;
47
49
48
-
$domainRobot = new DomainRobot([
50
+
$domainrobot = new Domainrobot([
49
51
"url" => "https://api.autodns.com/v1",
50
-
"auth" => new DomainRobotAuth([
52
+
"auth" => new DomainrobotAuth([
51
53
"user" => "user",
52
54
"password" => "password",
53
55
"context" => 4
@@ -61,11 +63,11 @@ This library is mainly meant to be used with synchronous request but also provid
61
63
62
64
The basic difference is that the asynchronous requests will provide you with less guidance than the synchronous requests.
63
65
64
-
A synchronous requests will return an Object as described in the official swagger documentation, whereas an asynchronous request will give you a DomainRobotResult Object which will only return the response as a plain array. You will then have to handle the data on your own.
66
+
A synchronous requests will return an Object as described in the official swagger documentation, whereas an asynchronous request will give you a DomainrobotResult Object which will only return the response as a plain array. You will then have to handle the data on your own.
65
67
66
68
Both methods provide certain advantages in certain situations.
67
69
68
-
Be aware that synchronous request will give you access to the return status code and the plain array result through *DomainRobot::getLastDomainRobotResult()*
70
+
Be aware that synchronous request will give you access to the return status code and the plain array result through *Domainrobot::getLastDomainrobotResult()*
69
71
70
72
Please refer to the examples below for more details.
71
73
@@ -74,18 +76,18 @@ Please refer to the examples below for more details.
0 commit comments