Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools

This commit is contained in:
Klaus-Uwe Mitterer 2017-01-27 22:20:47 +01:00
commit 02be1c42eb

View file

@ -21,6 +21,9 @@ class twObject:
def whoami(self):
return self.auth.get_username()
def tweet(self, text, reply = 0):
return self.api.update_status(text, reply)
def getFollowerIDs(two=twObject()):
''' Returns 5,000 follower IDs at most '''
return two.api.followers_ids(screen_name=twObject().whoami())