Vous pouvez testez notre api de plaque d’immatriculation facilement !
Token démo : TokenDemo
Code javascript
var token="TokenDemo";
var immatriculation="AA-123-ZE";
var format="json";
var settings = {
"async": true,
"crossDomain": true,
"url": "http://api.apiplaqueimmatriculation.com/carte-grise?immatriculation="+immatriculation+"&token="+token+"&format="+format,
"method": "POST",
"headers": {
"Accept": "application/json"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
_________________________________________________________
Exemple résultat d’api :
{
« data« : {
« erreur« : « »,
« immat« : « AA-123-ZE »,
« co2« : 119,
« energie« : 1,
« energieNGC« : « ESSENCE »,
« genreVCG« : 1,
« genreVCGNGC« : « VP »,
« puisFisc« : 4,
"puisFiscReel": 60,
"boite_vitesse": M,
"carrosserieCG": "CI",
« marque« : « FIAT »,
« modele« : « PANDA »,
« date1erCir_us« : « 2009-06-02 »,
« date1erCir_fr« : « 02-06-2009 »,
« collection« : « non »,
« date30« : « 1989-04-18 »,
« vin« : « ZFA16900001426851 »
}
}
Exemple avec POSTMAN
