This is a script that just get google places and put in a csv file.
-
Clone the repo:
$ git clone git@github.com:giibran/Search_Places.git
-
cd to search-places folder
$ cd search-places
-
Install npm modules
npm install
-
Inside config.js file update the google_key variable
-
Run index file using two parameters, first parameter is the text to search and second is the location with the next format '20.686006,-103.368966' example:
$ node index.js restaurantes '20.686006,-103.368966'
-
A places.csv file will be created after srcript is done.
NOTE: Actually the google place api just give 20 results by search