h1. Vinquery A ruby client for the "VinQuery":http//www.vinquery.com vin decoding web service. h2. How to install *Bundler*
gem vinquery*Rubygems*
gem install vinqueryh2. 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":http://vinquery.com.
require 'vinquery' vin = Vinquery.get('1FTWX31R19EB18840', { :url => 'VINQUERY_URL', :access_code => 'ACCESS_CODE', :report_type => 'REPORT_TYPE'}) vin.valid? # true vin.attributes[:make] # Ford