1.0.1 • Published 7 years ago

construct-store-by-google v1.0.1

Weekly downloads
1
License
ISC
Repository
bitbucket
Last release
7 years ago

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 address that 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
1.0.1

7 years ago

1.0.0

7 years ago