This project uses several Google API in order to analyse a given html page and extract from it a city and a country using a Natural Language engine. Then, it makes two searches in Secret Escapes API in these locations and shows the results.
This project runs on Node.js + Express, so you will need to have installed node.js and npm.
- Clone the repo in your local machine.
- Navigate to the project folder.
- Run
npm install
. - Run
node index.js
You can also remix the following glitch project https://bronze-canoe.glitch.me
You can also create a bookmarklet that will send the current url to the app. For that, you just need to create a new bookmark and paste the following in the location field:
javascript:(function(){window.location.assign("https://bronze-canoe.glitch.me/find?url_analyse="+document.URL);})();