aryan-pridesfromdivar-module v2.0.1
const pride = require('aryan-pridesfromdivar-module');
pride.gesTime(time,carBrand) : returns an array of objects
with this function you have an array of objects with random brand runna , arisan , pride ,audi that repeat in time you enter as input in ms. if you want to get result from only one brand select one of these options time and brand is optional. default value for time is 5minute = 300000ms
pride.consTime(time,carBrand) this function returns nothing and only console the latest updates of random brands every 5 min
pride.getCars(carBrand).then(item=>{ console.log(item) }) return an array of objects carBrand is optional
~ its important that for carBrands choose only from Divar's brands ~
restful API is here !
get All Cars
get all category
get specific car with index
get specific brand with index
update interval time
post a brand
delete a car
delete a category