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']) - +