Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

vindecoder.eu php

<?php

$apiPrefix = "https://api.vindecoder.eu/3.1";
$apikey = "e21781c8e456";   // Your API key
$secretkey = "fd2ed95c08";  // Your secret key
$id = "decode";
$vin = mb_strtoupper("W0L0TGF671B001145");

$controlsum = substr(sha1("{$vin}|{$id}|{$apikey}|{$secretkey}"), 0, 10);

$data = file_get_contents("{$apiPrefix}/{$apikey}/{$controlsum}/decode/{$vin}.json", false);
$result = json_decode($data);
Source by vindecoder.eu #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
2+2 =