A PHP library for interacting with the Doba API
- Make calls to the Doba API
- PSR-16 cache for faster responses
- Uses SoapClient for better type conversion of data
$username = 'doba_api_username';
$password = 'doba_api_password';
$retailer_id = 'retailer_id';
$api = \Axm\DobaApi\Factory::buildApi($username, $password, $retailer_id);
$suppliers = $api->getSuppliers(['supplier_ids' => [123,456]]);
$orders = $api->getOrders([
'limit' => 4
]);
- PHP >=7.1
- SoapClient enabled in PHP
You can install this library using composer.
The recommended way to install as a composer package:
composer require angelxmoreno/doba-api
If you have a problem with this library please open an issue on GitHub.
This code is offered under an MIT license.