All example code now properly references Twython instead of Tango - this should've been done months ago, can't believe it slipped my mind. Sorry for anyone who was totally confused by this. ;P
This commit is contained in:
parent
46c93f4adb
commit
024742d51b
12 changed files with 38 additions and 27 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import tango
|
||||
import twython
|
||||
|
||||
# Instantiate with Basic (HTTP) Authentication
|
||||
twitter = tango.setup(authtype="Basic", username="example", password="example")
|
||||
twitter = twython.setup(authtype="Basic", username="example", password="example")
|
||||
|
||||
# This returns the rate limit for the requesting IP
|
||||
rateLimit = twitter.getRateLimitStatus()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue