twython/core_examples/public_timeline.py
2011-12-07 14:22:15 -05:00

8 lines
215 B
Python

from twython import Twython
# Getting the public timeline requires no authentication, huzzah
twitter = Twython()
public_timeline = twitter.getPublicTimeline()
for tweet in public_timeline:
print tweet["text"]