PHP code example of beekube-app / blup-php-sdk
1. Go to this page and download the library: Download beekube-app/blup-php-sdk 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/ */
beekube-app / blup-php-sdk example snippets
apiInstance = new Beekube\BlupSDK\Api\BlupApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$bLUPInput = new \Beekube\BlupSDK\Models\BLUPInput(); // \Beekube\BlupSDK\Models\BLUPInput
try {
$result = $apiInstance->calulateBlupPost($bLUPInput);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BlupApi->calulateBlupPost: ', $e->getMessage(), PHP_EOL;
}