JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 599
  • Score
    100M100P100Q90765F
  • License MIT

Node.js library for the Google Places API

Package Exports

  • googleplaces

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (googleplaces) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

googleplaces.js

A node.js library for the Google Places API

ugh?

googleplaces.js makes it easy to talk to the Google Places API from your Node.js application

can i use in the browser?

Google already maintains a dedicated client side JavaScript library

what's supported in 0.5.0?

can i contribute?

Yes, fork, hack and send me a PR

This library hopes to support everything served Google Places webservice

get started

1. google

  • Enable Google Places API on Google API Console
    • Create an app
    • Enable the Places API
    • Create credentials

2. npm

$ npm install googleplaces

3. configure

# set environment variables
export GOOGLE_PLACES_API_KEY = "your key here"
export GOOGLE_PLACES_OUTPUT_FORMAT = "json"

examples

See tests