2017 © Pedro Peláez
 

library domrobot

image

inwx/domrobot

  • Monday, September 19, 2016
  • by kruemel
  • Repository
  • 7 Watchers
  • 27 Stars
  • 2,015 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 68 % Grown

The README.md

, (*1)

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., (*2)

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., (*3)

Documentation

You can view a detailed description of the API functions in our documentation. You can find the online documentation by clicking here., (*4)

If you still experience any kind of problems don't hesitate to contact our support via email., (*5)

Installation

the recommended way is via composer:, (*6)

composer require inwx/domrobot

now you can use the client by importing the Domrobot class:, (*7)

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., (*8)

License

MIT, (*9)

The Versions

19/09 2016

dev-master

9999999-dev

  Sources   Download

MIT

by InterNetworX

30/03 2016

v2.4

2.4.0.0

  Sources   Download

MIT

by InterNetworX