PHP code example of kameli / nummerplade-api
1. Go to this page and download the library: Download kameli/nummerplade-api 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/ */
kameli / nummerplade-api example snippets
$client = new Kameli\NummerpladeApi\Client('API_TOKEN');
$vehicle = $client->vehicleByRegistration('REGISTRATION');
// $vehicle = $client->vehicleByVin('VIN');
$dmr = $client->dmr($vehicle->vehicle_id);
$debt = $client->debt($vehicle->vehicle_id);
$inspections = $client->inspections($vehicle->vehicle_id);