From d5fafa9567a77311fcdc2a448c57a31984e9e74c Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 24 May 2021 16:57:52 -0500 Subject: [PATCH] Update and improve documentation for API.no_retweets_friendships --- tweepy/api.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 6b03582..372c097 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2230,11 +2230,18 @@ class API: Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from. - :param stringify_ids: |stringify_ids| + Parameters + ---------- + 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/accounts-and-users/follow-search-get-users/api-reference/get-friendships-no_retweets-ids + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-no_retweets-ids """ return self.request( 'GET', 'friendships/no_retweets/ids', endpoint_parameters=( -- 2.25.1