Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
2b4e4a5f
Commit
2b4e4a5f
authored
Jul 14, 2017
by
rosscg
Committed by
GitHub
Jul 14, 2017
Browse files
Added params to user_timeline
parent
c8e473ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/api.py
View file @
2b4e4a5f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment