Added params to user_timeline
authorrosscg <ross.gales@gmail.com>
Fri, 14 Jul 2017 17:53:35 +0000 (18:53 +0100)
committerGitHub <noreply@github.com>
Fri, 14 Jul 2017 17:53:35 +0000 (18:53 +0100)
tweepy/api.py

index c652e90012348e051affd019416d2f221da5acd4..b1221c04f779184d012fef66ea2f59c4183cadc3 100644 (file)
@@ -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