From c5468ee1b5c6a0c554cecd9eb309b5b081e8fa4f Mon Sep 17 00:00:00 2001 From: lucadex Date: Tue, 24 Jul 2012 12:45:32 +0300 Subject: [PATCH 1/2] Update twython/__init__.py --- twython/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twython/__init__.py b/twython/__init__.py index 8de237b..26a3860 100644 --- a/twython/__init__.py +++ b/twython/__init__.py @@ -1,2 +1,2 @@ from twython import Twython -from twython import TwythonError, TwythonAPILimit, TwythonAuthError +from twython import TwythonError, TwythonRateLimitError, TwythonAuthError From ee940288548e3d1c5a6a0882be9b3b07bf2ab43a Mon Sep 17 00:00:00 2001 From: lucadex Date: Tue, 24 Jul 2012 12:46:16 +0300 Subject: [PATCH 2/2] Update core_examples/search_results.py --- core_examples/search_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_examples/search_results.py b/core_examples/search_results.py index 74cfd40..57b4c51 100644 --- a/core_examples/search_results.py +++ b/core_examples/search_results.py @@ -2,7 +2,7 @@ from twython import Twython """ Instantiate Twython with no Authentication """ twitter = Twython() -search_results = twitter.searchTwitter(q="WebsDotCom", rpp="50") +search_results = twitter.search(q="WebsDotCom", rpp="50") for tweet in search_results["results"]: print "Tweet from @%s Date: %s" % (tweet['from_user'].encode('utf-8'),tweet['created_at'])