PHP code example of angelxmoreno / doba-api
1. Go to this page and download the library: Download angelxmoreno/doba-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
angelxmoreno / doba-api example snippets
$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
]);