From cd268c05ba1ab8236f8e7a8a5d4826363062c518 Mon Sep 17 00:00:00 2001 From: Daniel Lefevre Date: Sat, 26 Dec 2020 14:27:13 -0500 Subject: [PATCH] Reordered allowed parameters in user_timeline in api.py to correspond to documentation --- tweepy/api.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 03eec14..a58b0a1 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -123,16 +123,16 @@ class API(object): def user_timeline(self): """ :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline :allowed_param: 'id', 'user_id', 'screen_name', 'since_id', - 'max_id', 'count', 'include_rts', 'trim_user', - 'exclude_replies' + 'count', 'max_id', 'trim_user', 'exclude_replies', + 'include_rts' """ 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', 'trim_user', - 'exclude_replies'] + 'count', 'max_id', 'trim_user', 'exclude_replies', + 'include_rts'] ) @property -- 2.25.1