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.4.tar.gz
(1.9 kB
view details)
File details
Details for the file python-vpic-0.1.4.tar.gz.
File metadata
- Download URL: python-vpic-0.1.4.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a26d7befa6315323c64803958d0264e6459648194ff5bffb1cf9ecc7bd42a0bb
|
|
| MD5 |
23fbf2e4e524ef21f64647abc21dacf8
|
|
| BLAKE2b-256 |
387d67ae399844e97a5fee37bc8eb00926293e6d4f4463449592cff8dcbf9722
|