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:
Ryan McGrath 2009-10-10 17:22:29 -04:00
parent 46c93f4adb
commit 024742d51b
12 changed files with 38 additions and 27 deletions

View file

@ -1,7 +1,7 @@
import tango, pprint
import twython, pprint
# Authenticate using Basic (HTTP) Authentication
twitter = tango.setup(authtype="Basic", username="example", password="example")
twitter = twython.setup(authtype="Basic", username="example", password="example")
friends_timeline = twitter.getFriendsTimeline(count="150", page="3")
for tweet in friends_timeline: