From: Harmon Date: Sat, 22 May 2021 13:24:45 +0000 (-0500) Subject: Update and improve documentation for API.get_status X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c01117a693b406317ace90472a38ce0ff1f44888;p=tweepy.git Update and improve documentation for API.get_status --- diff --git a/tweepy/api.py b/tweepy/api.py index e2c3164..2b0a029 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -851,19 +851,31 @@ class API: Returns a single status specified by the ID parameter. - :param id: |sid| - :param trim_user: |trim_user| - :param include_my_retweet: A boolean indicating if any Tweets returned - that have been retweeted by the authenticating user should include - an additional current_user_retweet node, containing the ID of the - source status for the retweet. - :param include_entities: |include_entities| - :param include_ext_alt_text: |include_ext_alt_text| - :param include_card_uri: |include_card_uri| + Parameters + ---------- + id: + |sid| + trim_user + |trim_user| + include_my_retweet: + A boolean indicating if any Tweets returned that have been + retweeted by the authenticating user should include an additional + current_user_retweet node, containing the ID of the source status + for the retweet. + include_entities + |include_entities| + include_ext_alt_text + |include_ext_alt_text| + include_card_uri + |include_card_uri| - :rtype: :class:`Status` object + Returns + ------- + :class:`~tweepy.models.Status` - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-show-id + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-show-id """ return self.request( 'GET', 'statuses/show', endpoint_parameters=(