Unofficial caradisiac.com api wrapper
Table of Contents generated with DocToc
Get all technical records related to car specification from caradisiac.com.
❯ npm install https://github.com/92bondstreet/node-car-api.git
❯ yarn add 92bondstreet/node-car-api
const {getBrands} = require('node-car-api');
async function print () {
const brands = await getBrands();
console.log(brands);
}
print();
const {getModels} = require('node-car-api');
async function print () {
const models = await getModels('PEUGEOT');
console.log(models);
}
print();
Return array of brands
Type: Object
Type: Object
Default: {}
Type: String
Default: null
Return array of models for the given brand
Type: Object
Type: String
Default: {}
Type: String
Default: null
Type: Object
Type: Object
Default: {}
Type: String
Default: null