Skip to content

tinomen/vinquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vinquery

A ruby client for the VinQuery vin decoding web service.

How to install

Bundler

gem vinquery

Rubygems

gem install vinquery

How to use

Vinquery will provide you with a unique url and access_code which is needed for every request. In addition you will need to send the report type you desire. More info is available at the VinQuery site.

require 'vinquery'
vin = Vinquery.get('1FTWX31R19EB18840', {
                    :url => 'VINQUERY_URL',
                    :access_code => 'ACCESS_CODE',
                    :report_type => 'REPORT_TYPE'})

vin.valid? # true
vin.attributes[:make] # Ford

About

Client for Vinquery decoding service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages