inwx / domrobot
PHP Client to easily use the Domrobot API of INWX
Installs: 30 014
Dependents: 2
Suggesters: 0
Security: 0
Stars: 45
Watchers: 9
Forks: 8
Open Issues: 0
Requires
- php: ^8.1
- ext-curl: *
- monolog/monolog: ^3.3
Suggests
- ext-xmlrpc: Needed to use the XML-RPC API
This package is auto-updated.
Last update: 2025-01-28 15:03:33 UTC
README
INWX Domrobot PHP Client
You can access all functions of our frontend via our API, which is available via the XML-RPC or JSON-RPC protocol and thus can be easily consumed with all programming languages.
There is also an OT&E test system, which you can access via ote.inwx.com. Here you will find the known web interface which is using a test database. On the OT&E system no actions will be charged. So you can test as much as you like there.
Documentation
You can view a detailed description of the API functions in our documentation. You can find the online documentation by clicking here.
If you still experience any kind of problems don't hesitate to contact our support via email.
Installation
the recommended way is via composer:
composer require inwx/domrobot
now you can use the client by importing the Domrobot class:
use INWX\Domrobot;
Example
<?php error_reporting(E_ALL); require 'vendor/autoload.php'; $username = 'your_username'; $password = 'your_password'; $domrobot = new \INWX\Domrobot(); $result = $domrobot->setLanguage('en') ->useOte() ->useJson() ->setDebug(true) ->login($username, $password); if ($result['code'] == 1000) { $object = 'domain'; $method = 'check'; $params = ['domain' => 'mydomain.com']; $result = $domrobot->call($object, $method, $params); } print_r($result); $domrobot->logout();
You can also have a look at the example.php file in the project for even more info.
License
MIT