From f2167349d8f0beb9d898c7e5118f8bf54afc83b9 Mon Sep 17 00:00:00 2001 From: ryanmcgrath Date: Mon, 13 Sep 2010 02:21:59 -0700 Subject: [PATCH] Migrated from search-api v6 --- Search-API.textile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Search-API.textile b/Search-API.textile index ca58c8e..6832928 100644 --- a/Search-API.textile +++ b/Search-API.textile @@ -20,7 +20,7 @@ If you take a moment to read through Twitter's "Search API Docs":http://apiwiki. import twython """ Instantiate Tango with no Authentication """ -twitter = twython.setup() +twitter = twython.core.setup() search_results = twitter.searchTwitter("WebsDotCom", rpp="50") for tweet in search_results["results"]: @@ -41,7 +41,7 @@ Parameters: import twython """ Instantiate Twython with no Authentication """ -twitter = twython.setup() +twitter = twython.core.setup() trends = twitter.getCurrentTrends() print trends @@ -62,7 +62,7 @@ Parameters: import twython """ Instantiate Twython with no Authentication """ -twitter = twython.setup() +twitter = twython.core.setup() trends = twitter.getDailyTrends() print trends @@ -83,7 +83,7 @@ Parameters: import twython """ Instantiate Twython with no Authentication """ -twitter = twython.setup() +twitter = twython.core.setup() trends = twitter.getWeeklyTrends() print trends