Skip to content
/ YMME Public

A database of year, make and models for cars sold in US, along with an Android Viewer.

Notifications You must be signed in to change notification settings

lennycode/YMME

Repository files navigation

YMME

A database of year, make, model, engine configuration for cars sold in US, along with an Android Viewer. The Android app uses Fragments and RecyclerViews to manage hierarchical data. Quicky identify vehicles when the VIN isn't available, you don't have a VIN decoding API, or use as a backup if the VIN service is down. Don't need the Android app? Just download the contents of

/API Server

This project has a few parts:

An API Server folder:

-A gz archive of this information from 1980-2016. This expands into csv files representing a single model year. 2009 to the present contain everything that moves(including heavy trucks). Prior years are mostly passenger cars and trucks. An exclusion table could be easily created so you can filter on the makes you need.

-perl script to extract year, make, mode, and engine info for a given year. This can be used to update the archive. This script depends on an API from a retailer, and has delays not to overburden the server. It is possible in the future that this script may not work due to changes in the datasource, but it was stable for many years. It could be modified to obtain this information from other sources.

  Example usage: `perl ymme_extraction_script.pl 1998`

-php conversion utility to take the output from the above script (or files) and insert it into mysql with an appropriate index

  vehconv.php

-A light API endpoint to serve JSON

  http://??.com/vehendpoint.php?mode=makes&year=2013   - Fetches all makes for 2013 (See the API for more)

This was distilled from a larger project so paths, configuration, etc in the above must be modified.

Also, there is an Android app to view this data. The app uses Retrofit, EventBus, RecyclerView and Fragments. It is a good starting point for apps using those componenets. The app currently contains a working endpoint.

License: Do as you wish with it, but I am not responsible for what you do with it!

About

A database of year, make and models for cars sold in US, along with an Android Viewer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published