Project

vinquery

0.0
No commit activity in last 3 years
No release in over 3 years
A client for the Vinquery.com vin decoding web service.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.6.0
>= 0.4.0
>= 1.6.4

Runtime

>= 1.4.4
 Project Readme

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