@eyedea-sockets/google-geocoding
v0.0.1
Published
Wrapper for Google Maps Geocoding API
Downloads
6
Readme
Syncano Socket for Google Geocoding API
Main Socket features:
- google-geocoding/get-sublocality — get a sublocality name base on longitude and latitude
Getting Started
Install package in your project:
cd my_project
npm install @syncano/cli --save-dev
npm install @eyedea-sockets/google-geocoding --save
npx s deploy
Use it:
import Syncano from '@syncano/client'
const s = new Syncano(<instaneName>)
const params = {
latitude: '59.914620299999996',
longitude: '10.731760'
}
const suggestions = await s.get('google-geocoding/get-sublocality', params)