From: Joshua Roesslein Date: Mon, 21 Jan 2013 18:19:18 +0000 (-0800) Subject: Remove deprecated endpoints. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=edb63d2b506d3139c40eb9f07d3eed238d9eec03;p=tweepy.git Remove deprecated endpoints. --- diff --git a/tweepy/api.py b/tweepy/api.py index 2d15d09..c4f1f55 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -55,14 +55,6 @@ class API(object): require_auth = True ) - """/statuses/retweeted_by_user.format""" - retweeted_by_user = bind_api( - path = '/statuses/retweeted_by_user.json', - payload_type = 'status', payload_list = True, - allowed_param = ['screen_name', 'id', 'count', 'since_id', - 'max_id', 'page', 'include_entities'] - ) - """/statuses/:id/retweeted_by.format""" retweeted_by = bind_api( path = '/statuses/{id}/retweeted_by.json', @@ -77,7 +69,7 @@ class API(object): payload_type = 'relation', payload_list = True, allowed_param = ['id'], require_auth = False - ) + ) """/statuses/:id/retweeted_by/ids.format""" retweeted_by_ids = bind_api( @@ -87,30 +79,6 @@ class API(object): require_auth = True ) - """ statuses/retweeted_by_me """ - retweeted_by_me = bind_api( - path = '/statuses/retweeted_by_me.json', - payload_type = 'status', payload_list = True, - allowed_param = ['since_id', 'max_id', 'count', 'page'], - require_auth = True - ) - - """ statuses/retweeted_to_me """ - retweeted_to_me = bind_api( - path = '/statuses/retweeted_to_me.json', - payload_type = 'status', payload_list = True, - allowed_param = ['since_id', 'max_id', 'count', 'page'], - require_auth = True - ) - - """ statuses/retweeted_by_user """ - retweeted_by_user = bind_api( - path = '/statuses/retweeted_by_user.json', - payload_type = 'status', payload_list = True, - allowed_param = ['screen_name', 'id', 'since_id', 'max_id', 'count', 'page', 'trim_user', 'include_entities'], - require_auth = False - ) - """ statuses/retweets_of_me """ retweets_of_me = bind_api( path = '/statuses/retweets_of_me.json', @@ -214,20 +182,6 @@ class API(object): require_auth = True ) - """ statuses/friends """ - friends = bind_api( - path = '/friends/list.json', - payload_type = 'user', payload_list = True, - allowed_param = ['id', 'user_id', 'screen_name', 'page', 'cursor'] - ) - - """ statuses/followers """ - followers = bind_api( - path = '/followers/list.json', - payload_type = 'user', payload_list = True, - allowed_param = ['id', 'user_id', 'screen_name', 'page', 'cursor'] - ) - """ direct_messages """ direct_messages = bind_api( path = '/direct_messages.json',