@techcityventures/google-geocode-api
v1.0.0
Published
## Using the wrapper Create an API instance using the factory function ``` const { geocodeApi } = require("@techcityventures/twitter-api)
Downloads
3
Keywords
Readme
google-geocode-api
Using the wrapper
Create an API instance using the factory function
const { geocodeApi } = require("@techcityventures/twitter-api)
const geo = geocodeApi({ key: "YOUR_KEY" })
Usage
- Geocode
const res = await geo.geocode("1600 Amphitheatre Parkway")
- Reverse Geocode
const res = await geo.reverseGeocode(40.714224, -73.961452)