From faaf6a58928954b885260fff8b17689f2432b939 Mon Sep 17 00:00:00 2001 From: Stan van Rooy Date: Wed, 26 Aug 2020 00:57:58 +0200 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c80711a..8d4e0147 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,9 @@ f = fs.ShowFollowers.create(user_id="2283025667") obj, result = client.followers_get(f) # grabs first page while result: # paginates until all followers are extracted parsed = result.json() - print(f"Extracted {len(parsed['users'])} followers") - print(f"The username of the first extracted follower is {parsed['users'][0]['username']}") obj, result = client.followers_get(obj) sleep(random.randint(10, 60)) +print(f"Congrats! You have {len(parsed)} followers. You're very popular!) ``` A few other examples of how to use the package, can be found in the examples directory.