A simple .NET console application to fetch and display vehicle reports from the Vinlink service using a VIN number.
- Fetches vehicle reports from
service-ba.vinlink.comusing Basic Authentication - Supports both basic and enhanced report types
- Credentials are securely stored in
appsettings.jsonafter first successful login - Command line argument parsing using System.CommandLine
- Pretty-prints VIN section as a readable table
- Optionally displays raw JSON with
--rawswitch
MyVinlinkApp.exe <VIN> [--type <reportType>] [--raw]
<VIN>– Vehicle Identification Number (required)--type,-t,/type– Report type (default:basic, e.g.enhanced)--raw– Show raw JSON output instead of formatted table
MyVinlinkApp.exe 1J4PR5GK3AC144323 --type enhanced
- On first run, you will be prompted for your Vinlink username and password.
- Credentials are saved to
appsettings.jsonin the application directory for future use.
- By default, the VIN section is displayed as a readable table.
- For enhanced reports, additional vehicle details are shown.
- Use
--rawto display the full JSON response.
- developed using .NET 9.0
- Project uses System.CommandLine for argument parsing
- Configuration is managed via Microsoft.Extensions.Configuration
MIT License