Migrated from timeline-access v4

ryanmcgrath 2010-09-13 02:22:01 -07:00
parent afba480a9d
commit 4c3ba11b9d

@ -9,7 +9,7 @@ Returns the public timeline. This is easily one of the simplest methods for gett
import twython
# Getting the public timeline requires no authentication, huzzah
twitter = twython.setup()
twitter = twython.core.setup()
public_timeline = twitter.getPublicTimeline()
for tweet in public_timeline:
@ -32,7 +32,7 @@ Parameters:
import twython
# Authenticate using Basic (HTTP) Authentication
twitter = twython.setup(authtype="Basic", username="example", password="example")
twitter = twython.core.setup(username="example", password="example")
friends_timeline = twitter.getFriendsTimeline(count="150", page="3")
for tweet in friends_timeline:
@ -58,7 +58,7 @@ Parameters:
import twython
# We won't authenticate for this, but sometimes it's necessary
twitter = twython.setup()
twitter = twython.core.setup()
user_timeline = twitter.getUserTimeline(screen_name="ryanmcgrath")
print user_timeline
@ -79,7 +79,7 @@ Parameters:
<code>
import twython
twitter = twython.setup(authtype="Basic", username="example", password="example")
twitter = twython.core.setup(username="example", password="example")
mentions = twitter.getUserMentions(count="150")
print mentions