Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

stockholmz/economic-php-client

 
 

Repository files navigation

E-conomic PHP REST CLIENT

Build Status StyleCI Code Coverage Scrutinizer Code Quality Latest Stable Version Total Downloads License

https://restdocs.e-conomic.com

Access all debitors

Call the Customers url /Customers

$appToken = 'demo';
$grant    = 'demo';

$client = new Lenius\Economic\RestClient($appToken,$grant);

$parms = ['pagesize'=>100];

$response = $client->request->get('customers',$parms);

$status = $response->httpStatus();

if( $status == 200 ) {
    // Successful request
    $data = $response->asArray();
    print_r($data);
}

About

PHP REST CLIENT

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%