Giter Site home page Giter Site logo

ymme's Introduction

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.