Created
June 17, 2016 03:43
-
-
Save pinge/232f89426289b81f0234fb02fad01217 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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