Skip to content

Commit

Permalink
add missing readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pramonow committed Oct 9, 2019
1 parent 3146f17 commit 727d193
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions aws-golang-googlemap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!--
title: .'google map api'
description: 'Serverless example using golang to hit google map api'
framework: v1
platform: AWS
language: Go
authorLink: 'https://github.com/pramonow'
authorName: 'Pramono Winata'
authorAvatar: 'https://avatars0.githubusercontent.com/u/28787057?v=4&s=140'
-->



# 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

0 comments on commit 727d193

Please sign in to comment.