More examples for the Trends/Search API

This commit is contained in:
Ryan McGrath 2009-06-13 21:42:53 -04:00
parent 2fbb99c38d
commit b49cc2458d
3 changed files with 15 additions and 2 deletions

View file

@ -1,8 +1,7 @@
import tango
import pprint
""" Instantiate Tango with no Authentication """
twitter = tango.setup()
trends = twitter.getCurrentTrends()["trends"]
trends = twitter.getCurrentTrends()
print trends

View file

@ -0,0 +1,7 @@
import tango
""" Instantiate Tango with no Authentication """
twitter = tango.setup()
trends = twitter.getDailyTrends()
print trends

View file

@ -0,0 +1,7 @@
import tango
""" Instantiate Tango with no Authentication """
twitter = tango.setup()
trends = twitter.getWeeklyTrends()
print trends