Place Search
Search for near by place, get geolocation, place images and place details!
Installation
$ npm i place-search-sdk
Usage
Note: You'll need to Enable place API key in google developer console. Follow these steps of officially document. Node Version: > 6.x.x
const googlePlace = ; const client = 'API-KEY'
Geolocation
client ;
Near By Search
client;
Place Image
photo_reference is a id returned by nearby search.
'maxwidth''maxheight' have default value to 400px 400px respectivelyclient ;
Place Details
placeId is a id returned by nearby search.
client ;