Serverless-golang google map api
Serverless example using golang to hit google map api'
Change your API KEY in the yml file, then build and deploy:
make build
serverless deploy
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)