Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

opencars/vin-decoder-api

Repository files navigation

VIN Decoder

πŸš— Decoding vehicle identification number

Development

Build the binary

make

Start postgres

docker-compose up -Vd

Run sql migrations

migrate -source file://migrations -database postgres://postgres:password@127.0.0.1:5432/vin-decoder\?sslmode=disable up

Run the web server

./bin/server

Usage

For example, you get information about this amazing Tesla Model X

http http://localhost:8080/api/v1/vin-decoder/5YJXCCE40GF010543
{
 "vehicle": {
 "check_digit": true,
 "country": "United States",
 "manufacturer": "Tesla, Inc.",
 "region": "North America",
 "serial": "010543",
 "year": 2016
 },
 "vin": {
 "vds": "XCCE40",
 "vis": "GF010543",
 "wmi": "5YJ"
 }
}

License

Project released under the terms of the MIT license.

About

πŸš— Decoding vehicle identification number

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /