From 2b4e4a5fc884db729cfe0f00295bc58d949622eb Mon Sep 17 00:00:00 2001 From: rosscg Date: Fri, 14 Jul 2017 18:53:35 +0100 Subject: [PATCH] Added params to user_timeline --- tweepy/api.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index c652e90..b1221c0 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -111,17 +111,18 @@ class API(object): require_auth=True ) - @property + def user_timeline(self): """ :reference: https://dev.twitter.com/rest/reference/get/statuses/user_timeline - :allowed_param:'id', 'user_id', 'screen_name', 'since_id', 'max_id', 'count', 'include_rts' + :allowed_param:'id', 'user_id', 'screen_name', 'since_id', 'max_id', 'count', 'include_rts', 'trim_user', 'exclude_replies' """ return bind_api( api=self, path='/statuses/user_timeline.json', payload_type='status', payload_list=True, allowed_param=['id', 'user_id', 'screen_name', 'since_id', - 'max_id', 'count', 'include_rts'] + 'max_id', 'count', 'include_rts', 'trim_user', + 'exclude_replies'] ) @property -- 2.25.1