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
28328061
Unverified
Commit
28328061
authored
Apr 09, 2018
by
Joshua Roesslein
Committed by
GitHub
Apr 09, 2018
Browse files
Merge pull request #909 from rosscg/patch-1
Adding params to user_timeline
parents
959f907c
2f16711e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/api.py
View file @
28328061
...
@@ -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'
,
'exclude_replies'
]
)
)
@
property
@
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