From e277190c8e92dc3970e64cd54d0d2ffc4fa0752d Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 22 May 2021 07:43:08 -0500 Subject: [PATCH] Update and improve documentation for API.home_timeline --- tweepy/api.py | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index cd19e9e..2c69942 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -462,16 +462,28 @@ class API: the authenticating user and that user's friends. This is the equivalent of /timeline/home on the Web. - :param count: |count| - :param since_id: |since_id| - :param max_id: |max_id| - :param trim_user: |trim_user| - :param exclude_replies: |exclude_replies| - :param include_entities: |include_entities| + Parameters + ---------- + count + |count| + since_id + |since_id| + max_id + |max_id| + trim_user + |trim_user| + exclude_replies + |exclude_replies| + include_entities + |include_entities| - :rtype: list of :class:`Status` objects + Returns + ------- + :py:class:`List`\ [:class:`~tweepy.models.Status`] - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-home_timeline + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-home_timeline """ return self.request( 'GET', 'statuses/home_timeline', endpoint_parameters=( -- 2.25.1