From: Joshua Roesslein Date: Fri, 23 Apr 2010 19:45:48 +0000 (-0500) Subject: Trends methods are no longer part of the search API. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ac9896d57ae662cb56c1a730ab51cf405fbefeca;p=tweepy.git Trends methods are no longer part of the search API. --- diff --git a/tweepy/api.py b/tweepy/api.py index c9ba04b..4fd388e 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -632,14 +632,12 @@ class API(object): """ trends """ trends = bind_api( - search_api = True, path = '/trends.json', payload_type = 'json' ) """ trends/current """ trends_current = bind_api( - search_api = True, path = '/trends/current.json', payload_type = 'json', allowed_param = ['exclude'] @@ -647,7 +645,6 @@ class API(object): """ trends/daily """ trends_daily = bind_api( - search_api = True, path = '/trends/daily.json', payload_type = 'json', allowed_param = ['date', 'exclude'] @@ -655,7 +652,6 @@ class API(object): """ trends/weekly """ trends_weekly = bind_api( - search_api = True, path = '/trends/weekly.json', payload_type = 'json', allowed_param = ['date', 'exclude']