From 3ec26443b1c12aa066b9a569362cfb8fee558e8d Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 27 May 2021 06:33:47 -0500 Subject: [PATCH] Update and improve documentation for API.blocks --- tweepy/api.py | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 5c20c09..ca6c5b4 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2915,13 +2915,22 @@ class API: Returns an array of user objects that the authenticating user is blocking. - :param include_entities: |include_entities| - :param skip_status: |skip_status| - :param cursor: |cursor| + Parameters + ---------- + include_entities + |include_entities| + skip_status + |skip_status| + cursor + |cursor| - :rtype: list of :class:`User` objects + Returns + ------- + :py:class:`List`\ [:class:`~tweepy.models.User`] - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/get-blocks-list + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/get-blocks-list """ return self.request( 'GET', 'blocks/list', endpoint_parameters=( -- 2.25.1