Created
December 5, 2020 13:39
-
-
Save ljmocic/387b6779927d29ad772e378d2e33213c 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
import json | |
import boto3 | |
BUCKET = 'your-bucket-name' | |
KEY = 'your-file-key' | |
s3 = boto3.resource('s3') | |
file_object = s3.Object(BUCKET, KEY) | |
json_content = json.loads(file_object.get()['Body'].read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment