There is no license information available for the latest version (1.3.0) of this package.

iAdvize API Rest client

1.3.0 2015-04-27 16:21 UTC


Build Status Scrutinizer Code Quality Code Coverage

This project gives you access to iAdvize API easily.

Basic usage

Example: List websites

use Iadvize\ApiRestClient\Client;

// Create client
$client = new Client();

// Get resource
$website = $client->getResource('website', 123);

// Display resource
if ($website) {
        '[%s] — %s - http://%s' . PHP_EOL,
} else {
    echo $client->getLastResponse()->getMeta()->getMessage();

Install dependencies

composer install --dev

Launch tests

cp ./phpunix.xml.dist ./phpunix.xml
./vendor/bin/phpunit -c phpunit.xml