From: Daniel Lefevre Date: Wed, 11 Nov 2020 05:05:34 +0000 (-0500) Subject: Fixed issue #1410 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=30673770ad5f85a761bdbee904c103cbfafbd824;p=tweepy.git Fixed issue #1410 --- diff --git a/docs/api.rst b/docs/api.rst index 824219f..e6ddb6d 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -47,7 +47,8 @@ This page contains some basic documentation for the Tweepy module. Timeline methods ---------------- -.. method:: API.home_timeline([since_id], [max_id], [count], [page]) +.. method:: API.home_timeline([since_id], [max_id], [trim_user], [exclude_replies], \ + [count], [page]) Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends. This is the equivalent of @@ -55,6 +56,8 @@ Timeline methods :param since_id: |since_id| :param max_id: |max_id| + :param trim_user: |trim_user| + :param exclude_replies: |exclude_replies| :param count: |count| :param page: |page| :rtype: list of :class:`Status` objects diff --git a/docs/parameters.rst b/docs/parameters.rst index 28c04f2..ae4aa8f 100644 --- a/docs/parameters.rst +++ b/docs/parameters.rst @@ -4,6 +4,7 @@ .. |cursor| replace:: Breaks the results into pages. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list. .. |date| replace:: Permits specifying a start date for the report. The date should be formatted YYYY-MM-DD. .. |exclude| replace:: Setting this equal to hashtags will remove all hashtags from the trends list. +.. |exclude_replies| replace:: A boolean which will prevent reply tweets from being included with the returned timeline. Note that the API will return a number of tweets equal to the count parameter before replies are filtered out. Defaults to True. .. |full_text| replace:: A boolean indicating whether or not the full text of a message should be returned. If False the message text returned will be truncated to 140 chars. Defaults to False. .. |include_card_uri| replace:: A boolean indicating if the retrieved Tweet should include a card_uri attribute when there is an ads card attached to the Tweet and when that card was attached using the card_uri value. .. |include_entities| replace:: The entities node will not be included when set to false. Defaults to true.