diff --git a/tango_examples/current_trends.py b/tango_examples/current_trends.py index 94f1454..dd2d50d 100644 --- a/tango_examples/current_trends.py +++ b/tango_examples/current_trends.py @@ -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 diff --git a/tango_examples/daily_trends.py b/tango_examples/daily_trends.py new file mode 100644 index 0000000..28bdde1 --- /dev/null +++ b/tango_examples/daily_trends.py @@ -0,0 +1,7 @@ +import tango + +""" Instantiate Tango with no Authentication """ +twitter = tango.setup() +trends = twitter.getDailyTrends() + +print trends diff --git a/tango_examples/weekly_trends.py b/tango_examples/weekly_trends.py new file mode 100644 index 0000000..fd9b564 --- /dev/null +++ b/tango_examples/weekly_trends.py @@ -0,0 +1,7 @@ +import tango + +""" Instantiate Tango with no Authentication """ +twitter = tango.setup() +trends = twitter.getWeeklyTrends() + +print trends