1.0.1 • Published 9 years ago
complacent v1.0.1
complacent
Google places client for the browser with a sane API
Install
$ npm install --save complacent
Usage
var Maps = require('complacent')
var maps = Maps({
key: 'yourApiKey'
})
maps.autocomplete.places({input: 'San Francisco'}, function (err, results) {
//=> null, [{id: 'abc'} ...]
})
API
For more details on the returned API, see google-places-browser.
Complacent(options)
-> object
options
Required
Type: object
Options passed to load-google-maps.
License
MIT © Ben Drucker