From: Harmon Date: Mon, 24 May 2021 21:49:13 +0000 (-0500) Subject: Update and improve documentation for API.followers X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=078ab6165fb5e7d8e0d31bab6522b667e6f5e150;p=tweepy.git Update and improve documentation for API.followers --- diff --git a/tweepy/api.py b/tweepy/api.py index 7d4bd00..aac4839 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2060,16 +2060,29 @@ class API: Returns a user's followers ordered in which they were added. If no user is specified by id/screen name, it defaults to the authenticated user. - :param user_id: |user_id| - :param screen_name: |screen_name| - :param cursor: |cursor| - :param count: |count| - :param skip_status: |skip_status| - :param include_user_entities: |include_user_entities| - :rtype: list of :class:`User` objects + Parameters + ---------- + user_id + |user_id| + screen_name + |screen_name| + cursor + |cursor| + count + |count| + skip_status + |skip_status| + include_user_entities + |include_user_entities| - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-followers-list + Returns + ------- + :py:class:`List`\ [:class:`~tweepy.models.User`] + + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-followers-list """ return self.request( 'GET', 'followers/list', endpoint_parameters=(