Skip to content

Commit e7fee7d

Browse files
authored
Merge pull request #445 from pramonow/google_geomap_readme
add missing readme
2 parents 3146f17 + 727d193 commit e7fee7d

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

aws-golang-googlemap/README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--
2+
title: .'google map api'
3+
description: 'Serverless example using golang to hit google map api'
4+
framework: v1
5+
platform: AWS
6+
language: Go
7+
authorLink: 'https://github.com/pramonow'
8+
authorName: 'Pramono Winata'
9+
authorAvatar: 'https://avatars0.githubusercontent.com/u/28787057?v=4&s=140'
10+
-->
11+
12+
13+
14+
# Serverless-golang google map api
15+
Serverless example using golang to hit google map api'
16+
17+
when changing any main file call make comment in the folder directory then call serverless deploy -v
18+
change your API KEY in the yml file
19+
20+
There are three endpoint provided:
21+
1. GET Geolocation endpoint with address param (geolocation?address=$address)
22+
2. GET Nearby Location with location and radius param, also name which is optional param (nearbylocation?name=$name&radius=$radius)
23+
3. GET GeoDetail with place id (geodetail?placeid=$placeid)
24+
25+
getgeodetail:
26+
handler: bin/getgeodetail
27+
events:
28+
- http:
29+
path: geodetail
30+
method: get
31+
request:
32+
parameters:
33+
querystrings:
34+
placeid: true

0 commit comments

Comments
 (0)