From: rosscg Date: Fri, 14 Jul 2017 17:53:35 +0000 (+0100) Subject: Added params to user_timeline X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2b4e4a5fc884db729cfe0f00295bc58d949622eb;p=tweepy.git Added params to user_timeline --- 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