From ec48c0d87e97d02959ce546b869440d63b4d5fb9 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 24 May 2021 16:50:50 -0500 Subject: [PATCH] Update and improve documentation for API.friends_ids --- tweepy/api.py | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index aac4839..1072c1b 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2099,15 +2099,26 @@ class API: Returns an array containing the IDs of users being followed by 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-friends-ids + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids """ return self.request( 'GET', 'friends/ids', endpoint_parameters=( -- 2.25.1