Official Python SDK for the VIN Decoder Vehicle API
Project description
VIN Decoder Vehicle — Python SDK
Official Python SDK for the VIN Decoder Vehicle API.
Features
- Zero runtime dependencies (stdlib only)
- Python 3.9+
- Typed dataclass models
- All API endpoints supported
Installation
pip install vindecodervehicle
Quick Start
from vindecodervehicle import VinDecoderClient
client = VinDecoderClient.create(user="YOUR_USER", api_key="YOUR_API_KEY")
vehicle = client.decode_vin("WF0GXXGAJ69C71882")
print(vehicle.full_name) # BMW 3 Coupe (E92) 316 i
print(vehicle.make) # BMW
print(vehicle.car_id) # 55565
API Reference
VIN
vehicle = client.decode_vin("WF0GXXGAJ69C71882")
vehicles = client.decode_vin_all("WF0GXXGAJ69C71882")
engines = client.get_engines("WF0GXXGAJ69C71882")
Vehicle by carId
vehicle = client.get_vehicle(55565)
fluids = client.get_fluid_capacities(55565)
parts = client.get_oem_parts(55565)
repairs = client.get_repair_times(55565)
Catalog
brands = client.list_brands()
models = client.list_models("bmw")
variants = client.list_variants("bmw", "3-series")
Error Handling
from vindecodervehicle import (
ApiError,
AuthenticationError,
InvalidArgumentError,
)
try:
vehicle = client.decode_vin("INVALID")
except InvalidArgumentError:
pass
except AuthenticationError:
pass
except ApiError as exc:
print(exc.status_code, exc.response_body)
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vindecodervehicle-1.0.0.tar.gz.
File metadata
- Download URL: vindecodervehicle-1.0.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58566d7579c4dce1efff0c8a1b983cda9204c8dc601abcceb1db14bcf91f9005
|
|
| MD5 |
2f83f594fa5be9ef2a00403b473bbd66
|
|
| BLAKE2b-256 |
c3f3fa83bbcf2c0ad4b04e83b634a9832f75501cd98c3561380d712c8bebd877
|
Provenance
The following attestation bundles were made for vindecodervehicle-1.0.0.tar.gz:
Publisher:
publish.yml on JoxMarkes/vindecodervehicle-python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vindecodervehicle-1.0.0.tar.gz -
Subject digest:
58566d7579c4dce1efff0c8a1b983cda9204c8dc601abcceb1db14bcf91f9005 - Sigstore transparency entry: 1777538791
- Sigstore integration time:
-
Permalink:
JoxMarkes/vindecodervehicle-python-sdk@0b301b85eca8f662326abe60c9bc9e209ec465dd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/JoxMarkes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0b301b85eca8f662326abe60c9bc9e209ec465dd -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file vindecodervehicle-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vindecodervehicle-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33ec85b1c0397b21cb5ca105e92f96b6e9292cd0a2ad9190608a1f6105490445
|
|
| MD5 |
12370a6e9b605a679acca149996398e3
|
|
| BLAKE2b-256 |
120a8f92ab332a59da3a1c1ef946c35f7f25a733936cf824bea6899e1e006d5e
|
Provenance
The following attestation bundles were made for vindecodervehicle-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on JoxMarkes/vindecodervehicle-python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vindecodervehicle-1.0.0-py3-none-any.whl -
Subject digest:
33ec85b1c0397b21cb5ca105e92f96b6e9292cd0a2ad9190608a1f6105490445 - Sigstore transparency entry: 1777538855
- Sigstore integration time:
-
Permalink:
JoxMarkes/vindecodervehicle-python-sdk@0b301b85eca8f662326abe60c9bc9e209ec465dd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/JoxMarkes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0b301b85eca8f662326abe60c9bc9e209ec465dd -
Trigger Event:
workflow_dispatch
-
Statement type: