Update allowed parameters for API.get_status
authorHarmon <Harmon758@gmail.com>
Sun, 1 Sep 2019 20:28:50 +0000 (15:28 -0500)
committerHarmon <Harmon758@gmail.com>
Sun, 1 Sep 2019 20:28:50 +0000 (15:28 -0500)
docs/api.rst
tweepy/api.py

index 8d03a42887cb7135d76fe36029626e5a3058eca2..b119cfdee00486f96bc6f02fa5e453580323af01 100644 (file)
@@ -115,11 +115,21 @@ Timeline methods
 Status methods
 --------------
 
-.. method:: API.get_status(id)
+.. method:: API.get_status(id, [trim_user], [include_my_retweet], \
+                           [include_entities], [include_ext_alt_text], \
+                           [include_card_uri])
 
    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|
    :rtype: :class:`Status` object
 
 
index dfef2d69d956f8209a01ab36c7417a926a0e333b..e4cd10374e9c5347dac23b7cc1e3079bee3110cb 100644 (file)
@@ -177,13 +177,17 @@ class API(object):
     @property
     def get_status(self):
         """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-show-id
-            :allowed_param: 'id'
+            :allowed_param: 'id', 'trim_user', 'include_my_retweet',
+                            'include_entities', 'include_ext_alt_text',
+                            'include_card_uri'
         """
         return bind_api(
             api=self,
             path='/statuses/show.json',
             payload_type='status',
-            allowed_param=['id']
+            allowed_param=['id', 'trim_user', 'include_my_retweet',
+                           'include_entities', 'include_ext_alt_text',
+                           'include_card_uri']
         )
 
     def update_status(self, *args, **kwargs):