2017 © Pedro PelĆ”ez
 

library channel-api-client-php

image

channelengine/channel-api-client-php

  • Friday, June 29, 2018
  • by ChannelEngine
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

ChannelEngine

No Maintenance Intended, (*1)

Deprecation of the Channel API client libraries

This library is no longer supported by ChannelEngine. To build your own library via OpenAPI Generator, using your programming language of choice, check out the Channel API: API clients article in our Help Center., (*2)

ChannelEngine’s APIs follow the OpenAPI/Swagger specifications, which you can find in our API reference. (At the top of the swagger page switch to 'ChannelEngine Channel API'), (*3)

Additional information for developers

For detailed information on ChannelEngine’s APIs, go to the REST APIs category in our Help Center., (*4)

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:, (*5)

{
  "require": {
    "channelengine/channel-api-client-php": "*"
  }
}

Then run composer install, (*6)

Getting Started

Please follow the installation procedure and then run the following:, (*7)

<?php
require_once(__DIR__ . '/vendor/autoload.php');

use ChannelEngine\ApiClient\Configuration;
use ChannelEngine\ApiClient\ApiException;
use ChannelEngine\ApiClient\Api\OrderApi;

$apiConfig = Configuration::getDefaultConfiguration();
$apiConfig->setHost('https://demo.channelengine.net/api');
$apiConfig->setApiKey('apikey', 'xxxxxxxxxxxx');

$orderApi = new OrderApi(null, $apiConfig);

try {
    $response = $orderApi->orderGetNew();
    dd($response);
} catch (ApiException $e) {
    // In case of a non-2xx status an exception will be trown.
    // However, we can check getResponseBody() to get the deserialized response.
    echo($e->getMessage());
    dd($e->getResponseBody());
}

function dd($var) {
    echo("

");
    print_r($var);
    echo("
"); }

The Versions

29/06 2018

dev-master

9999999-dev http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

29/06 2018

2.6.7

2.6.7.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

18/06 2018

2.6.5

2.6.5.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

22/05 2018

2.6.2

2.6.2.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

17/05 2018

2.6.1

2.6.1.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

01/03 2018

2.6.0

2.6.0.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

22/02 2018

2.5.3

2.5.3.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

22/02 2018

2.5.2

2.5.2.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

22/02 2018

2.5.1

2.5.1.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

13/02 2018

2.5.0

2.5.0.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk