2017 © Pedro Peláez
 

library ncucc-coreapi

NCUCC CoreAPI Client

image

linuzilla/ncucc-coreapi

NCUCC CoreAPI Client

  • Tuesday, June 13, 2017
  • by linuzilla
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

NCUCC CoreAPI Client

ncucc-coreapi is a PHP HTTP client, (*1)

php composer.phar require linuzilla/ncucc-coreapi
<?php
require __DIR__ . '/vendor/autoload.php';

use NCUCC\CoreAPI\Client;
use NCUCC\CoreAPI\APIException;

$config_file = "config.json";
$config = json_decode(file_get_contents($config_file));

$coreapi = new Client($config);

try {
    $coreapi->some_api_function();
} catch (NCUCC\CoreAPI\APIException $e) {
    echo 'Caught exception: ',  $e->getMessage(), "\n";
}
{
    "base": "// API base URL",
    "appkey": "your app key",
    "magickey": "your magic key",
    "secret": "secret",
    "publicKey": "public key in pem format",
    "token": "access token",
    "apiMetaFile": "api meta file"
}

The Versions

13/06 2017

dev-master

9999999-dev

NCUCC CoreAPI Client

  Sources   Download

MIT

The Requires

 

13/06 2017

v1.0.2

1.0.2.0

NCUCC CoreAPI Client

  Sources   Download

MIT

The Requires

 

13/06 2017

v1.0.1

1.0.1.0

NCUCC CoreAPI Client

  Sources   Download

MIT

The Requires

 

13/06 2017

v1.0.0

1.0.0.0

NCUCC CoreAPI Client

  Sources   Download

MIT

The Requires