Skip to content

heyguevara/node-carweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-carweb

Build Status

API client for Carweb's vehicle registration database

Usage

var Carweb = require('carweb').Carweb;

var carweb = new Carweb({
	url : "", // (optional, defaults to 'https://www1.carwebuk.com/CarweBVRRB2Bproxy/carwebvrrwebservice.asmx/strB2BGetVehicleByVRM' )
	username : 'yourUser',
	password : 'yourPw',
	ref : 'test',
	description : 'test',
	key : 'yourKey',
	version : '0.31.1'
});

var reg = "FJ19 6BP";

carweb.fetch( reg, function( err, vehicle ){
	console.log(vehicle); // should spit out an object full of key/value pairs. Fields that only contain whitespace are stripped out.
})

About

API client for Carweb's vehicle registration database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published