From: Joshua Roesslein Date: Sat, 17 Apr 2010 02:41:42 +0000 (-0500) Subject: Added retweeted_by and retweeted_by_ids methods. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=55633082b16c92d51ed906f5cc2147e71a20102f;p=tweepy.git Added retweeted_by and retweeted_by_ids methods. --- diff --git a/tweepy/api.py b/tweepy/api.py index d6d3e70..55d7eb5 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -70,6 +70,22 @@ class API(object): require_auth = True ) + """/statuses/:id/retweeted_by.format""" + retweeted_by = bind_api( + path = '/statuses/{id}/retweeted_by.json', + payload_type = 'status', payload_list = True, + allowed_param = ['id', 'count', 'page'], + require_auth = True + ) + + """/statuses/:id/retweeted_by/ids.format""" + retweeted_by_ids = bind_api( + path = '/statuses/{id}/retweeted_by/ids.json', + payload_type = 'ids', + allowed_param = ['id', 'count', 'page'], + require_auth = True + ) + """ statuses/retweeted_by_me """ retweeted_by_me = bind_api( path = '/statuses/retweeted_by_me.json',