Node.js library for the Google Places API
npm install googleplacesA node.js library for the Google Places API
googleplaces.js makes it easy to talk to the Google Places API from your Node.js application
Google already maintains a dedicated client side JavaScript library
- Place search
- Place details
- Place autocomplete
- Events
Yes, fork, hack and send me a PR
This library hopes to support everything served Google Places webservice
- Enable Google Places API on Google API Console
- Create an app
- Enable the Places API
- Create credentials
$ npm install googleplaces
# set environment variables
export GOOGLE_PLACES_API_KEY = "your key here"
export GOOGLE_PLACES_OUTPUT_FORMAT = "json"
See tests