From faf6c8ad47f08171d7625c549ea3d805b23960bd Mon Sep 17 00:00:00 2001 From: Daniel Lefevre Date: Sat, 19 Dec 2020 18:05:19 -0500 Subject: [PATCH] Added missing allowed params to home_timeline in api.py --- tweepy/api.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 88faccc..7b9fc7b 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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 ) -- 2.25.1