Canadian-Geospatial-Platform/geoview-api-geolocator

Deploy GitHub action

Closed this issue · 1 comments

See @bo-lu for more information on how to deploy our API

Succeeded to deploy a few API's associated to Lambda functions to gain understanding of AWS platform.
such as:

_import json
import urllib.request

def lambda_handler(event, context):
# TODO implement
queryStringParameters = event['queryStringParameters']
query = queryStringParameters['q']
print(queryStringParameters)
print(query)
return {
'statusCode': 200,
'body': json.dumps(queryStringParameters)
}_