https://github.com/kleinpanic/vinlookup
A simple Python script that retrieves vehicle details using a VIN (Vehicle Identification Number) via the NHTSA API. Enter a VIN, and the script fetches information like make, model, year, and body type. Lightweight and easy to use, requiring only Python and `requests`. Ideal for quick vehicle lookups from the command line.
https://github.com/kleinpanic/vinlookup
Last synced: 8 months ago
JSON representation
A simple Python script that retrieves vehicle details using a VIN (Vehicle Identification Number) via the NHTSA API. Enter a VIN, and the script fetches information like make, model, year, and body type. Lightweight and easy to use, requiring only Python and `requests`. Ideal for quick vehicle lookups from the command line.
- Host: GitHub
- URL: https://github.com/kleinpanic/vinlookup
- Owner: kleinpanic
- License: mit
- Created: 2024-09-29T06:27:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T06:46:49.000Z (over 1 year ago)
- Last Synced: 2025-03-05T07:30:01.591Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VIN Lookup Tool
This is a simple Python script that retrieves vehicle information based on a VIN (Vehicle Identification Number) using the [NHTSA API](https://vpic.nhtsa.dot.gov/api/).
## Features
- Fetches vehicle details by VIN.
- Uses the NHTSA public API for VIN decoding.
- Simple command-line interface.
## Requirements
This script requires Python 3 and the `requests` library.
Install the required dependency using (if you don't have it by default):
```sh
pip install requests
```
## Usage
Run the script and enter a VIN when prompted:
```sh
python vin_lookup.py
```
Then input the VIN to retrieve details about the vehicle.
## Example Output
```
Enter the VIN: 1HGCM82633A123456
Vehicle Info:
Make: Honda
Model: Accord
Model Year: 2003
Body Class: Sedan/Saloon
...
```
## Project Structure
```
.
├── vin_lookup.py # Main script
├── README.md # Project documentation
├── LICENSE # MIT License
```
## API Information
This script utilizes the [NHTSA Vehicle API](https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVin/) to retrieve vehicle details.
## License
This project is licensed under the MIT License.