Skip to content

Instantly share code, notes, and snippets.

@pullmonkey
Created February 19, 2010 17:31
Show Gist options
  • Save pullmonkey/308951 to your computer and use it in GitHub Desktop.
Save pullmonkey/308951 to your computer and use it in GitHub Desktop.
>> VinApi.find("1HGCM82633A004352").year
=> "2003"
>> VinApi.find("1HGCM82633A004352").model
=> "ACCORD EX"
>> puts VinApi.find("1HGCM82633A004352").attributes.to_yaml
---
model: ACCORD EX
body_style: COUPE
country: UNITED STATES
vin: 1HGCM82633A004352
engine_type: 3.0L V6 SFI SOHC 24V
year: "2003"
make: HONDA
=> nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment