From 55633082b16c92d51ed906f5cc2147e71a20102f Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Fri, 16 Apr 2010 21:41:42 -0500 Subject: [PATCH] Added retweeted_by and retweeted_by_ids methods. --- tweepy/api.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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', -- 2.25.1