• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
Pramono Winata

Google map api

by

Serverless example using golang to hit google map api

  1. Google map api

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:

  1. GET Geolocation endpoint with address param (geolocation?address=$address)
  2. GET Nearby Location with location and radius param, also name which is optional param (nearbylocation?name=$name&radius=$radius)
  3. GET GeoDetail with place id (geodetail?placeid=$placeid)

getgeodetail: handler: bin/getgeodetail events: - http: path: geodetail method: get request: parameters: querystrings: placeid: true

Contents

  • Serverless-golang google map api

Related

GuidesPluginsExamplesSlack CommunitySupport