From: Harmon Date: Mon, 24 May 2021 21:44:17 +0000 (-0500) Subject: Update and improve documentation for API.followers_ids X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=74d84d78a6df5bfce3a2db8bc2dfa2e8e5ce1347;p=tweepy.git Update and improve documentation for API.followers_ids --- diff --git a/tweepy/api.py b/tweepy/api.py index 05bc33f..7d4bd00 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2024,15 +2024,26 @@ class API: Returns an array containing the IDs of users following the specified user. - :param user_id: |user_id| - :param screen_name: |screen_name| - :param cursor: |cursor| - :param stringify_ids: |stringify_ids| - :param count: |count| + Parameters + ---------- + user_id + |user_id| + screen_name + |screen_name| + cursor + |cursor| + stringify_ids + |stringify_ids| + count + |count| - :rtype: list of :class:`int` + Returns + ------- + :py:class:`List`\ [:class:`int`] - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids """ return self.request( 'GET', 'followers/ids', endpoint_parameters=(