Skip to content

Instantly share code, notes, and snippets.

@pinge
Created June 17, 2016 03:43
Show Gist options
  • Save pinge/232f89426289b81f0234fb02fad01217 to your computer and use it in GitHub Desktop.
Save pinge/232f89426289b81f0234fb02fad01217 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import os
import sys
import base64
import json
# Add the lib directory to the path for Lambda to load our libs
sys.path.append(os.path.join(os.path.dirname(__file__), 'lib'))
WORLD_REGIONS = [
{
"code": "002",
"name": "Africa"
},
{
"code": "019",
"name": "Americas"
},
{
"code": "142",
"name": "Asia"
},
{
"code": "150",
"name": "Europe"
},
{
"code": "009",
"name": "Oceania"
}
]
def lambda_handler(event, context):
return WORLD_REGIONS
if __name__ == '__main__':
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment