PHP code example of heqiauto / hepc-sdk

1. Go to this page and download the library: Download heqiauto/hepc-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/ */

    

heqiauto / hepc-sdk example snippets


use Heqiauto\HepcSdk\HepcClient;
use Heqiauto\HepcSdk\CarBrand;

$client = new HepcClient('api-host', 'your-key', 'your-secret');
$carBrand = new CarBrand($client)
$brands = $carBrand->getCarBrands();