Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tweepy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Options
Browse Files
Download
Plain Diff
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
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tweepy/api.py
tweepy/api.py
+3
-2
No files found.
tweepy/api.py
View file @
28328061
...
...
@@ -114,14 +114,15 @@ class API(object):
@
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