From: Daniel Lefevre Date: Sat, 26 Dec 2020 19:27:13 +0000 (-0500) Subject: Reordered allowed parameters in user_timeline in api.py to correspond to documentation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cd268c05ba1ab8236f8e7a8a5d4826363062c518;p=tweepy.git Reordered allowed parameters in user_timeline in api.py to correspond to documentation --- 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