PHP code example of mobianglobal / mobian-api-php
1. Go to this page and download the library: Download mobianglobal/mobian-api-php 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/ */
mobianglobal / mobian-api-php example snippets
use Mobian\ApiClient\MobianApiConfig;
MobianApiConfig::setAuthKey('RESELLER_KEY_HERE');
use Mobian\ApiClient\MobianApiClient;
use Mobian\ApiClient\Requests\Bookings\GetBookingsRequest;
$request = new GetBookingsRequest([
'reservation_status' => ['completed'],
]);
$bookings = MobianApiClient::request($request);
bash
composer