From c982dbfe3882ecb12b82d559bd9e1fd093f6cf0f Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 6 Apr 2021 17:02:50 -0500 Subject: [PATCH] Update API documentation header to match API reference index --- docs/api.rst | 4 ++-- tweepy/api.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 211f5e4..b7d819f 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -16,8 +16,8 @@ This page contains some basic documentation for the Tweepy module. .. autoclass:: API -Timeline methods ----------------- +Get Tweet timelines +------------------- .. automethod:: API.home_timeline diff --git a/tweepy/api.py b/tweepy/api.py index 43a6453..b9ff016 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -251,6 +251,8 @@ class API: finally: self.session.close() + # Get Tweet timelines + @pagination(mode='id') @payload('status', list=True) def home_timeline(self, **kwargs): -- 2.25.1