From f965b515347bd8cd73ff59cc0a7ae8910e7be27d Mon Sep 17 00:00:00 2001 From: ryanmcgrath Date: Mon, 13 Sep 2010 02:21:51 -0700 Subject: [PATCH] Migrated from search-api v5 --- Search-API.textile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Search-API.textile b/Search-API.textile index ace5877..ca58c8e 100644 --- a/Search-API.textile +++ b/Search-API.textile @@ -13,14 +13,14 @@ Parameters: h3. A note about the above parameters -If you take a moment to read through Twitter's "Search API Docs":http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search, you'll notice that the above params are pretty much word for word. This is because Tango is built to be flexible with API changes on Twitter's end; with that noted, it's important to be familiar with the Twitter API as a whole. You should really read the Twitter Search API Docs if you choose to use this method. +If you take a moment to read through Twitter's "Search API Docs":http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search, you'll notice that the above params are pretty much word for word. This is because Twython is built to be flexible with API changes on Twitter's end; with that noted, it's important to be familiar with the Twitter API as a whole. You should really read the Twitter Search API Docs if you choose to use this method.
 
-import tango
+import twython
 
 """ Instantiate Tango with no Authentication """
-twitter = tango.setup()
+twitter = twython.setup()
 search_results = twitter.searchTwitter("WebsDotCom", rpp="50")
 
 for tweet in search_results["results"]:
@@ -38,10 +38,10 @@ Parameters:
 
 
 
-import tango
+import twython
 
-""" Instantiate Tango with no Authentication """
-twitter = tango.setup()
+""" Instantiate Twython with no Authentication """
+twitter = twython.setup()
 trends = twitter.getCurrentTrends()
 
 print trends
@@ -59,10 +59,10 @@ Parameters:
 
 
 
-import tango
+import twython
 
-""" Instantiate Tango with no Authentication """
-twitter = tango.setup()
+""" Instantiate Twython with no Authentication """
+twitter = twython.setup()
 trends = twitter.getDailyTrends()
 
 print trends
@@ -80,10 +80,10 @@ Parameters:
 
 
 
-import tango
+import twython
 
-""" Instantiate Tango with no Authentication """
-twitter = tango.setup()
+""" Instantiate Twython with no Authentication """
+twitter = twython.setup()
 trends = twitter.getWeeklyTrends()
 
 print trends