Last active
February 27, 2019 22:45
-
-
Save edsu/9e3cad1505543e13d258de343d6f76aa 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
#!/usr/bin/env python3 | |
import sys | |
import time | |
import twarc | |
t = twarc.Twarc() | |
screen_name = sys.argv[1] | |
while True: | |
u = next(t.user_lookup([screen_name], id_type="screen_name")) | |
print(u['followers_count']) | |
time.sleep(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment