Added missing allowed params to home_timeline in api.py
authorDaniel Lefevre <dpllefevre89@gmail.com>
Sat, 19 Dec 2020 23:05:19 +0000 (18:05 -0500)
committerDaniel Lefevre <dpllefevre89@gmail.com>
Sat, 19 Dec 2020 23:05:19 +0000 (18:05 -0500)
tweepy/api.py

index 88faccc33b9cb29fe21ba6d8b36be208361d39ea..7b9fc7ba41b58e9864c9d37e24a9dd93df6d2305 100644 (file)
@@ -90,13 +90,15 @@ class API(object):
     @property
     def home_timeline(self):
         """ :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline
-            :allowed_param: 'count', 'since_id', 'max_id'
+            :allowed_param: 'count', 'since_id', 'max_id', 'trim_user',
+                            'exclude_replies', 'include_entities'
         """
         return bind_api(
             api=self,
             path='/statuses/home_timeline.json',
             payload_type='status', payload_list=True,
-            allowed_param=['count', 'since_id', 'max_id'],
+            allowed_param=['count', 'since_id', 'max_id', 'trim_user',
+                           'exclude_replies', 'include_entities'],
             require_auth=True
         )