Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stanvanrooy committed Aug 25, 2020
1 parent e85056f commit faaf6a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit faaf6a5

Please sign in to comment.