From 2fbb99c38d3cfd8122af7b50b39825c71a52ebc8 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Sat, 13 Jun 2009 21:34:44 -0400 Subject: [PATCH] Current Trends example - very basic --- tango_examples/current_trends.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tango_examples/current_trends.py diff --git a/tango_examples/current_trends.py b/tango_examples/current_trends.py new file mode 100644 index 0000000..94f1454 --- /dev/null +++ b/tango_examples/current_trends.py @@ -0,0 +1,8 @@ +import tango +import pprint + +""" Instantiate Tango with no Authentication """ +twitter = tango.setup() +trends = twitter.getCurrentTrends()["trends"] + +print trends