getcvs
v1.0.6
Published
getcvs @manager-center
Downloads
12
Maintainers
Readme
台灣便利商店查詢程式 (search for Taiwan CVS)
Install
npm install getcvs --save
透過地址關鍵字查詢7-11
code example:
const cvs711 = require('getcvs').cvs711;
const keyword = '台北市大同區承德路';
let get711Stores = async (keyword) => {
const stores = await cvs711.getStrores(keyword);
console.log('stores:', stores);
}
get711Stores(keyword);
城市區域查詢Family Mart
code example:
const city = '台北市';
const area = '大同區';
let getFamilyStore = async (city, area)=>{
let stores = await cvsFamily.getStores(city, area);
console.log('stores:',stores);
}
getFamilyStore(city, area);