2017 © Pedro Peláez
 

library combell-api

Combell public API for customers with direct activation

image

combell/combell-api

Combell public API for customers with direct activation

  • Thursday, November 2, 2017
  • by ThijsFeryn
  • Repository
  • 2 Watchers
  • 7 Stars
  • 140 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 21 % Grown

The README.md

Combell public API

The Combell public API project wraps around Guzzle and offers HMAC authentication. You can use the client to easily connect to the Combell public API endpoint., (*1)

To learn more about the Combell public API, go to https://api.combell.com/., (*2)

Install

composer require combell/combell-api

If you need support for PHP versions older than 7.4, you will need to use version 2.0:, (*3)

composer require 'combell/combell-api:^2.0'

Example

The code example below registers a new domain name on your account., (*4)

<?php

require dirname(__DIR__) . '/vendor/autoload.php';

$client = new \Combell\Client(
    [
        'debug' => true,
        'base_uri' => 'https://api.combell.com',
        'combell_api_key' => 'XXXX',
        'combell_api_secret' => 'YYYY'
    ]
);

$body = [
    'domain_name' => 'domain-name-to-register.eu'
];

// Register domain name
$response = $client->post('/v2/domains/registrations', ['json' => $body]);

// Dump location header with link to provisioning job
var_dump(
    $response->getHeader('Location')
);

Go to the examples folder to see more examples., (*5)

Combell.nl customers

When you have a Dutch customer account (combell.nl), use https://api.combell.nl as endpoint., (*6)

The Versions

02/11 2017

dev-master

9999999-dev

Combell public API for customers with direct activation

  Sources   Download

The Requires

 

The Development Requires

18/01 2017

v1.x-dev

1.9999999.9999999.9999999-dev

Combell public API for customers with direct activation

  Sources   Download

The Requires

 

The Development Requires

12/09 2016

v1.0

1.0.0.0

Combell API for customers with direct activation

  Sources   Download

The Requires

 

The Development Requires