From: Harmon Date: Thu, 29 Apr 2021 09:29:48 +0000 (-0500) Subject: Remove Pagination Code Snippet X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8df677dd1185ca87c6b9b9bd54deb18d3f53d6a0;p=tweepy.git Remove Pagination Code Snippet --- 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 =========