al-one/hexonet-api

Hexonet Domain Reseller API

dev-master 2020-07-13 05:44 UTC

This package is auto-updated.

Last update: 2024-11-13 14:56:43 UTC


README

Installing

$ composer require al-one/hexonet-api -vvv

or

$ composer require al-one/hexonet-api:dev-master -vvv

Usage

<?php

$username = 'user';
$password = 'pass';

$auth = new \Alone\Hexonet\Auth($username,$password);
$api = new \Alone\Hexonet\Connection($auth);

$ret = $api->call('command',[
    'parameter1' => 'value1',
    'parameter2' => 'value2',
]);

$hash1 = $ret->getHash();
$hash2 = $ret->getHashLower();

Documentation

Link