Serverless-golang google map api
Serverless example using golang to hit google map api'
when changing any main file call make comment in the folder directory then call serverless deploy -v change your API KEY in the yml file
There are three endpoint provided:
- GET Geolocation endpoint with address param (geolocation?address=$address)
- GET Nearby Location with location and radius param, also name which is optional param (nearbylocation?name=$name&radius=$radius)
- GET GeoDetail with place id (geodetail?placeid=$placeid)
getgeodetail: handler: bin/getgeodetail events: - http: path: geodetail method: get request: parameters: querystrings: placeid: true