From: Harmon Date: Mon, 24 May 2021 11:10:12 +0000 (-0500) Subject: Update and improve documentation for API.lists_all X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=38800cef230fdcaba78d5f7cfe4951ec6154819c;p=tweepy.git Update and improve documentation for API.lists_all --- diff --git a/tweepy/api.py b/tweepy/api.py index 9df4c1e..be28fc7 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1286,15 +1286,24 @@ class API: lists first, so with ``reverse=true``, 20 owned lists and 80 subscriptions would be returned. - :param user_id: |user_id| - :param screen_name: |screen_name| - :param reverse: A boolean indicating if you would like owned lists to - be returned first. See description above for - information on how this parameter works. + Parameters + ---------- + user_id + |user_id| + screen_name + |screen_name| + reverse + A boolean indicating if you would like owned lists to be returned + first. See description above for information on how this parameter + works. - :rtype: list of :class:`List` objects + Returns + ------- + :class:`~tweepy.models.List` - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/get-lists-list + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/get-lists-list """ return self.request( 'GET', 'lists/list', endpoint_parameters=(