UNPKG

car-registration-api-portugal

Version:

Get car information from a Portuguese number plate. An account username is required, which you can get from http://www.vehicleregistrationapi.com

33 lines (19 loc) 783 B
# car-registration-api-portugal Get car information from a Portuguese number plate. An account username is required, which you can get from [http://www.vehicleregistrationapi.com](http://www.vehicleregistrationapi.com) ## Installation ```sh npm install car-registration-api-portugal --save ``` ## Usage ```js var api = require('car-registration-api-portugal'); api.CheckCarRegistrationPortugal("90-27-QL","***Your Username***",function(data){ console.log(data.Description); }); ``` ## Dependencies - [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js): Simple XML to JavaScript object converter. ## Dev Dependencies A username is required, which can be obtained from [http://www.vehicleregistrationapi.com](http://www.vehicleregistrationapi.com) ## License ISC