construct-store-by-google
v1.0.1
Published
construct store that ready to insert into mongodb from google
Keywords
Readme
README
This README would normally document whatever steps are necessary to get your application up and running.
What is this repository for?
- constructs store by specific
addressthat ready to insert into mongodb
const constructStore = require('../src/index');
(async () => {
try {
const address = '1155 US-65, Conway, AR 72032, USA';
const store = await constructStore(address, 'walmart.com', 'en_us',{
googleAPIKey: 'xxxx',
gcacheURL:'xxxx'
});
console.log('store',store);
process.exit(1);
} catch (e) {
console.error(e);
process.exit(1);
}
})()
How do I get set up?
- just includ this module to your project and call the function
