PHP code example of vinbolt / sdk
1. Go to this page and download the library: Download vinbolt/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/ */
vinbolt / sdk example snippets
use Vinbolt\Sdk\VinboltClient;
$client = new VinboltClient('pk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
$home = $client->pages->get('home');
$header = $client->site->header();
$brand = $client->brand->get();
$cars = $client->vehicles->list(['make' => 'Honda']);
$client->leads->create([
'email' => '[email protected]',
'name' => 'Jane Doe',
'vehicle_vin' => '1HGCM82633A123456',
'message' => 'Interested in a test drive',
]);