From 8df677dd1185ca87c6b9b9bd54deb18d3f53d6a0 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 29 Apr 2021 04:29:48 -0500 Subject: [PATCH] Remove Pagination Code Snippet --- docs/code_snippet.rst | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/docs/code_snippet.rst b/docs/code_snippet.rst index 2674693..bc57ab4 100644 --- a/docs/code_snippet.rst +++ b/docs/code_snippet.rst @@ -27,21 +27,6 @@ OAuth # Construct the API instance api = tweepy.API(auth) -Pagination -========== - -.. code-block :: python - - # Iterate through all of the authenticated user's friends - for friend in tweepy.Cursor(api.friends).items(): - # Process the friend here - process_friend(friend) - - # Iterate through the first 200 statuses in the home timeline - for status in tweepy.Cursor(api.home_timeline).items(200): - # Process the status here - process_status(status) - FollowAll ========= -- 2.25.1