carquery-api
v0.1.1
Published
A Node.js wrapper for the CarQuery API.
Downloads
7
Maintainers
Readme
node-carquery-api
Usage
const CarQuery = require('carquery-api');
CarQuery.getYears((err, results) => {
if (err) return err;
return console.log(results); // { minimum: 1940, maximum: 2016 }
});
Functions
getMakes
- gets all makesgetModel
- gets model details for a modelgetModels
- gets all models for a makegetTrims
- gets details of various modelsgetYears
- gets the minimum and maximum years
Lint
npm run lint
Test
npm test