From fe00625bae09d8ac8d5baba82be5aad91fb4219b Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 24 May 2021 16:54:18 -0500 Subject: [PATCH] Update and improve documentation for API.friendships_incoming --- tweepy/api.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index aac1b74..703d29b 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2173,12 +2173,20 @@ class API: Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user. - :param cursor: |cursor| - :param stringify_ids: |stringify_ids| + Parameters + ---------- + cursor + |cursor| + 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-incoming + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-incoming """ return self.request( 'GET', 'friendships/incoming', endpoint_parameters=( -- 2.25.1