From 55b28c9184fbe95bcc5b57791770689a065c13f7 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Sat, 13 Jun 2009 21:00:58 -0400 Subject: [PATCH] Examples of various Tango scripts --- tango_examples/search_results.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tango_examples/search_results.py diff --git a/tango_examples/search_results.py b/tango_examples/search_results.py new file mode 100644 index 0000000..97b03a5 --- /dev/null +++ b/tango_examples/search_results.py @@ -0,0 +1,8 @@ +import tango + +""" Instantiate Tango with no Authentication """ +twitter = tango.setup() +search_results = twitter.searchTwitter("WebsDotCom", "2") + +for tweet in search_results["results"]: + print tweet["text"]