PHP SDK for DIDWW API 3
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples cleanup sku related methods Jan 12, 2019
src cleanup sku related methods Jan 12, 2019
tests improve tests for Balance Item Jan 12, 2019
.gitignore add examples Jan 4, 2019
.php_cs add examples Jan 4, 2019
.travis.yml add PHP 7.3 to travis Jan 10, 2019
LICENSE Initial commit Jan 2, 2019
README.md added bages to packagist in README Jan 22, 2019
composer.json relax json-api-client dependency Jan 14, 2019
composer.lock relax json-api-client dependency Jan 14, 2019
phpunit.xml.dist intro php-coveralls Jan 3, 2019

README.md

PHP client for DIDWW API v3. PHP from Packagist Latest Version on Packagist Build Status Coverage Status

About DIDWW API v3

The DIDWW API provides a simple yet powerful interface that allows you to fully integrate your own applications with DIDWW services. An extensive set of actions may be performed using this API, such as ordering and configuring phone numbers, setting capacity, creating SIP trunks and retrieving CDRs and other operational data.

The DIDWW API v3 is a fully compliant implementation of the JSON API specification.

Read more https://doc.didww.com/api

Installation

Execute command

composer require didww/didww-api-3-php-sdk

Usage


$credentials = new \Didww\Credentials('PLACEYOURAPIKEYHERE', 'sandbox');

\Didww\Configuration::configure($credentials);

$didGroup = \Didww\Item\DidGroup::all(['include'=>'stock_keeping_units', 'filter' => ['area_name' => 'Acapulco']])->getData()[0];
var_dump($didGroup->getAttributes());

For more examples visit https://github.com/didww/didww-api-3-php-sdk/tree/master/examples

For details on obtaining your API key please visit https://doc.didww.com/api#introduction-api-keys

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/didww/didww-api-3-php-sdk

License

The package is available as open source under the terms of the MIT License.