A library for getting the data of Nigerian vehicle using the registration plate number.
npm install mvrd-node --save
The basic usage of this library is:
/**
* Get Vehicle Data
* @param {String} platenumber
* @return {Object}
*/
var mvrd = require('mvrd-node');
var platenumber = 'FST918EH';
var client = new mvrd();
client.getData(platenumber).then(function(resp){
console.log(resp);
})
// Sample Output would look like:
{ plateNumber: 'FST918EH',
ownerName: ' PAUL A SEGUN',
color: 'Green',
model: 'Honda Accord',
chasisNumber: '1HGCMxxxxxxx39882',
vehicleStatus: 'Default',
isssueDate: '2016-09-08T12:50:46.493',
expiryDate: '2017-09-07T12:50:46.493' }
npm test
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.
Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!
Don't forget to follow me on twitter!
Thanks! Ikedieze Onyeforo.
The MIT License (MIT). Please see License File for more information.