More examples for the Trends/Search API
This commit is contained in:
parent
2fbb99c38d
commit
b49cc2458d
3 changed files with 15 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
7
tango_examples/daily_trends.py
Normal file
7
tango_examples/daily_trends.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import tango
|
||||
|
||||
""" Instantiate Tango with no Authentication """
|
||||
twitter = tango.setup()
|
||||
trends = twitter.getDailyTrends()
|
||||
|
||||
print trends
|
||||
7
tango_examples/weekly_trends.py
Normal file
7
tango_examples/weekly_trends.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import tango
|
||||
|
||||
""" Instantiate Tango with no Authentication """
|
||||
twitter = tango.setup()
|
||||
trends = twitter.getWeeklyTrends()
|
||||
|
||||
print trends
|
||||
Loading…
Add table
Add a link
Reference in a new issue