Simple wrapper to the vPic API.
Project description
# Python-vPic
A simple wrapper around the vPic API.
## To install:
pip install python-vpic
## To use:
```
from vpic import vpic
# Single VIN lookup
vehicle = vpic.lookup_vin('5FYD4FS147B031975')
print('Make:', vehicle.make)
print('Model:', vehicle.model)
print('Year:', vehicle.model_year)
# Bulk VIN lookup
vehicles = vpic.lookup_vins(
[{'vin': '5FYD4FS147B031975', 'year': 2006}, {'vin': '4V4WDBPFSCN735320'}]
)
# ...
```
A simple wrapper around the vPic API.
## To install:
pip install python-vpic
## To use:
```
from vpic import vpic
# Single VIN lookup
vehicle = vpic.lookup_vin('5FYD4FS147B031975')
print('Make:', vehicle.make)
print('Model:', vehicle.model)
print('Year:', vehicle.model_year)
# Bulk VIN lookup
vehicles = vpic.lookup_vins(
[{'vin': '5FYD4FS147B031975', 'year': 2006}, {'vin': '4V4WDBPFSCN735320'}]
)
# ...
```
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
python-vpic-0.1.3.tar.gz
(1.9 kB
view details)
File details
Details for the file python-vpic-0.1.3.tar.gz
.
File metadata
- Download URL: python-vpic-0.1.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2acc89b1f8869c1e38be9d1b7b51f1a878af07afece395db5bb7a5b1bcab21c2
|
|
MD5 |
2a5ad4b3300d4c99a15a9744f8df5512
|
|
BLAKE2b-256 |
6b7b7588f390ce4e3010a5d80a9cce7e1cad9d595479979e6bc9ae32627b8c8c
|