From b83aaed56162aeb4263407b4ce1430e48a5ef884 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 22 May 2021 08:14:19 -0500 Subject: [PATCH] Update and improve documentation for API.retweeters --- tweepy/api.py | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 55ca047..f5b4dfb 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -751,14 +751,24 @@ class API: Returns up to 100 user IDs belonging to users who have retweeted the Tweet specified by the ``id`` parameter. - :param id: |sid| - :param count: |count| - :param cursor: |cursor| - :param stringify_ids: |stringify_ids| + Parameters + ---------- + id + |sid| + count + |count| + cursor + |cursor| + stringify_ids + |stringify_ids| - :rtype: list of :class:`int` + Returns + ------- + :py:class:`List`\ [:class:`int`] - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids """ return self.request( 'GET', 'statuses/retweeters/ids', endpoint_parameters=( -- 2.25.1