PHP code example of hermannovich / marketcheck-api-sdk-php
1. Go to this page and download the library: Download hermannovich/marketcheck-api-sdk-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/ */
hermannovich / marketcheck-api-sdk-php example snippets
Instance = new marketcheck\api\sdk\Api\CRMApi(
// 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()
);
$vin = "vin_example"; // string | vin for which CRM check needs to be done
$sale_date = "sale_date_example"; // string | sale date after which listing has appeared or not
$api_key = "api_key_example"; // string | The API Authentication Key. Mandatory with all API calls.
try {
$result = $apiInstance->crmCheck($vin, $sale_date, $api_key);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CRMApi->crmCheck: ', $e->getMessage(), PHP_EOL;
}
composer