Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools
This commit is contained in:
commit
02be1c42eb
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ class twObject:
|
||||||
def whoami(self):
|
def whoami(self):
|
||||||
return self.auth.get_username()
|
return self.auth.get_username()
|
||||||
|
|
||||||
|
def tweet(self, text, reply = 0):
|
||||||
|
return self.api.update_status(text, reply)
|
||||||
|
|
||||||
def getFollowerIDs(two=twObject()):
|
def getFollowerIDs(two=twObject()):
|
||||||
''' Returns 5,000 follower IDs at most '''
|
''' Returns 5,000 follower IDs at most '''
|
||||||
return two.api.followers_ids(screen_name=twObject().whoami())
|
return two.api.followers_ids(screen_name=twObject().whoami())
|
||||||
|
|
Loading…
Reference in a new issue