From f77686b791e837d6713e1f8b6a1dd8061f74bf22 Mon Sep 17 00:00:00 2001 From: b_galloway Date: Thu, 11 Feb 2021 22:20:27 -0800 Subject: [PATCH] completed activity --- main.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index f2f1db2..8845b72 100644 --- a/main.py +++ b/main.py @@ -13,8 +13,9 @@ # # 1. Retrieve a list of "events" associated with the given user name # 2. Print out the time stamp associated with the first event in that list. - - print("COMPLETE THE TODOs") + response = requests.get(f"https://api.github.com/users/{username}") + event =json.loads(response.content) + print(event['created_at']) - +