2017 © Pedro Peláez
 

library client

image

idcf/client

  • Sunday, February 4, 2018
  • by nhashiguchi
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

IDCF Cloud PHP Client

A PHP client for IDCF Cloud., (*1)

Installation

execute:, (*2)

$ composer require idcf/client

Dependencies

  • PHP 5.4 or later

Usage

Computing

<?php
require_once 'vendor/autoload.php';
$api_key = '';
$secret_key = '';
$client = new \Idcf\Client\Compute($api_key, $secret_key, 'compute.jp-east.idcfcloud.com');
$args = array('command' => 'listZones');
$client->get($args);

Infinite LB

<?php
require_once 'vendor/autoload.php';
$api_key = '';
$secret_key = '';
$client = new \Idcf\Client\Ilb($api_key, $secret_key, 'ilb.jp-east.idcfcloud.com');
$client->get('loadbalancers');

DNS

<?php
require_once 'vendor/autoload.php';
$api_key = '';
$secret_key = '';
$client = new \Idcf\Client\Dns($api_key, $secret_key);
$client->get('zones');

Billing

<?php
require_once 'vendor/autoload.php';
$api_key = '';
$secret_key = '';
$client = new \Idcf\Client\Your($api_key, $secret_key);
$client->get('billings/history');

Content Cache

<?php
require_once 'vendor/autoload.php';
$api_key = '';
$secret_key = '';
$client = new \Idcf\Client\CdnZero($api_key, $secret_key);
$args = array('api_key' => $api_key);
$client->get('fqdns', $args);

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nhashiguchi/idcf-client-php. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct., (*3)

License

The library is available as open source under the terms of the MIT License., (*4)

The Versions

04/02 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by Naohiro Hashiguchi

04/02 2018

v0.0.2

0.0.2.0

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by Naohiro Hashiguchi

04/02 2018

v0.0.1

0.0.1.0

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Naohiro Hashiguchi