Unverified Commit 28328061 authored by Joshua Roesslein's avatar Joshua Roesslein Committed by GitHub
Browse files

Merge pull request #909 from rosscg/patch-1

Adding params to user_timeline
parents 959f907c 2f16711e
...@@ -114,14 +114,15 @@ class API(object): ...@@ -114,14 +114,15 @@ class API(object):
@property @property
def user_timeline(self): def user_timeline(self):
""" :reference: https://dev.twitter.com/rest/reference/get/statuses/user_timeline """ :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( return bind_api(
api=self, api=self,
path='/statuses/user_timeline.json', path='/statuses/user_timeline.json',
payload_type='status', payload_list=True, payload_type='status', payload_list=True,
allowed_param=['id', 'user_id', 'screen_name', 'since_id', allowed_param=['id', 'user_id', 'screen_name', 'since_id',
'max_id', 'count', 'include_rts'] 'max_id', 'count', 'include_rts', 'trim_user',
) )
@property @property
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment