From: Harmon Date: Mon, 24 May 2021 12:28:48 +0000 (-0500) Subject: Update and improve documentation for API.get_list X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7ae7cac0fdabe1600c8a5bc95dcbe2499ae8b291;p=tweepy.git Update and improve documentation for API.get_list --- diff --git a/tweepy/api.py b/tweepy/api.py index 83fef8f..cc9ce55 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1484,14 +1484,22 @@ class API: Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list. - :param list_id: |list_id| - :param slug: |slug| - :param owner_screen_name: |owner_screen_name| - :param owner_id: |owner_id| + list_id + |list_id| + slug + |slug| + owner_screen_name + |owner_screen_name| + owner_id + |owner_id| - :rtype: :class:`List` object + 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-show + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/get-lists-show """ return self.request( 'GET', 'lists/show', endpoint_parameters=(