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.5.tar.gz
(1.9 kB
view hashes)