NOTICE: If you're reading this on GitHub.com please be aware this is a mirror of the primary remote located at https://code.richard.do/richardARPANET/vehicle-makes. Please direct issues and pull requests there.
Python library to provide up-to-date vehicle make and model data. Currently returning cars only. The data source is AutoTrader.
To install, simply:
pip install vehicle-makes
from vehicle_makes import get_makes_and_models
makes_and_models = get_makes_and_models()
get_makes_and_models()
returns a dict in the following structure:
{
'AC': ('212', '302', 'Cobra'),
'Abarth': ('124 Spider', '500', '500C', '595',),
}
1. Python 3.6+ 2. See requirements.txt
pip install -r requirements-dev.txt
pytest src/tests/tests.py