From 74d84d78a6df5bfce3a2db8bc2dfa2e8e5ce1347 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 24 May 2021 16:44:17 -0500 Subject: [PATCH] Update and improve documentation for API.followers_ids --- tweepy/api.py | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) 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=( -- 2.25.1