Harmon [Sun, 25 Aug 2019 09:32:04 +0000 (04:32 -0500)]
Return cursors when calling method from DMCursorIterator
This adds a return_cursors kwarg and attribute to APIMethod that can be used to explicitly specify to return cursors with the result.
The existing check for the cursor session parameter has been refactored from JSONParser.parse to APIMethod.execute.
This means that the parser's parse method is called with a return_cursors kwarg.
All parsers in the library have been updated to reflect this change.
Harmon [Sun, 25 Aug 2019 09:23:56 +0000 (04:23 -0500)]
Handle empty pages in ItemIterator
Harmon [Sun, 25 Aug 2019 09:22:05 +0000 (04:22 -0500)]
Add DMCursorIterator
Harmon [Sun, 25 Aug 2019 08:38:22 +0000 (03:38 -0500)]
Fix Cursor set start test
Update subclasses of BaseIterator to modify the kwargs attribute rather than the local variable
Harmon [Sun, 25 Aug 2019 08:31:50 +0000 (03:31 -0500)]
Pass args and kwargs properly
Harmon [Sun, 25 Aug 2019 08:20:13 +0000 (03:20 -0500)]
Replace references to kargs with kwargs
Harmon [Sat, 24 Aug 2019 17:54:30 +0000 (12:54 -0500)]
Fix misspelling in API.search documentation
Copied from Twitter's API
Harmon [Sat, 24 Aug 2019 17:51:38 +0000 (12:51 -0500)]
Merge pull request #1260 from cmarshall108/patch-1
api: fixed typo
Caleb Marshall [Sat, 24 Aug 2019 14:26:35 +0000 (10:26 -0400)]
api: fixed typo
Harmon [Thu, 1 Aug 2019 14:57:08 +0000 (09:57 -0500)]
Merge pull request #1229 from kylepw/consumerkey
Change `consumer token` to `consumer key` in documentation
Harmon [Wed, 31 Jul 2019 03:38:46 +0000 (22:38 -0500)]
Improve examples in extended Tweet documentation
Harmon [Wed, 31 Jul 2019 03:22:17 +0000 (22:22 -0500)]
Improve wording in extended Tweets documentation
Harmon [Wed, 31 Jul 2019 03:19:06 +0000 (22:19 -0500)]
Improve wording in extended Tweets documentation
Harmon [Wed, 31 Jul 2019 00:59:20 +0000 (19:59 -0500)]
Fix section title styles in Cursor tutorial documentation
Harmon [Wed, 31 Jul 2019 00:54:36 +0000 (19:54 -0500)]
Remove misplaced section in Cursor tutorial documentation
Harmon [Wed, 31 Jul 2019 00:16:51 +0000 (19:16 -0500)]
Remove improper note in documentation for API.get_status
Harmon [Wed, 31 Jul 2019 00:07:58 +0000 (19:07 -0500)]
Improve footnote formatting in extended Tweets documentation
Harmon [Tue, 30 Jul 2019 23:22:02 +0000 (18:22 -0500)]
Add extended Tweets documentation to index
Harmon [Tue, 30 Jul 2019 23:20:42 +0000 (18:20 -0500)]
Add documentation for extended Tweets
Harmon [Mon, 22 Jul 2019 05:22:17 +0000 (00:22 -0500)]
Order tests alphabetically in Travis CI tests configuration
Harmon [Mon, 22 Jul 2019 05:20:57 +0000 (00:20 -0500)]
Order tests alphabetically in tox configuration
Harmon [Mon, 22 Jul 2019 05:20:03 +0000 (00:20 -0500)]
Include resultset tests in tox configuration
Harmon [Sat, 20 Jul 2019 23:09:08 +0000 (18:09 -0500)]
Fix documentation for API.search return type
Harmon [Mon, 15 Jul 2019 01:26:17 +0000 (20:26 -0500)]
Update documentation badge to v3.8.0
Harmon [Mon, 15 Jul 2019 01:15:46 +0000 (20:15 -0500)]
Release v3.8.0
Harmon [Mon, 15 Jul 2019 01:14:14 +0000 (20:14 -0500)]
Add changelog for version 3.8.0
Harmon [Sun, 14 Jul 2019 20:05:26 +0000 (15:05 -0500)]
Merge pull request #1228 from tweepy/dm-migration
Direct Message migration
Harmon [Sun, 14 Jul 2019 19:57:52 +0000 (14:57 -0500)]
Merge branch 'master' into dm-migration
Harmon [Sun, 14 Jul 2019 19:38:14 +0000 (14:38 -0500)]
Update cassettes
Update testsendanddestroydirectmessage.json and replace testdirectmessages.json and testsentdirectmessages.json with testlistdirectmessages.json
Harmon [Sun, 14 Jul 2019 19:25:10 +0000 (14:25 -0500)]
Merge pull request #1242 from tweepy/tests-and-cassettes-update
Update tests and cassettes
Harmon [Sat, 13 Jul 2019 02:49:07 +0000 (21:49 -0500)]
Remove old Travis CI environment variables
For credentials for old test account
Harmon [Sat, 13 Jul 2019 02:39:47 +0000 (21:39 -0500)]
Update cassettes
Harmon [Sat, 13 Jul 2019 02:30:49 +0000 (21:30 -0500)]
Update default test account
Harmon [Sat, 13 Jul 2019 02:29:29 +0000 (21:29 -0500)]
Generalize hardcoded tests
Harmon [Sat, 13 Jul 2019 01:53:32 +0000 (20:53 -0500)]
Skip DM tests for now
Harmon [Sat, 13 Jul 2019 01:53:09 +0000 (20:53 -0500)]
Lower test requirements for Tweets and Following
Harmon [Sat, 13 Jul 2019 01:52:38 +0000 (20:52 -0500)]
Fix test for API.supported_languages
Harmon [Sat, 13 Jul 2019 01:51:36 +0000 (20:51 -0500)]
Fix screen name capitalization in tests
Harmon [Sat, 13 Jul 2019 01:21:41 +0000 (20:21 -0500)]
Standardize inline comment spacing in API tests
Harmon [Sat, 13 Jul 2019 01:03:33 +0000 (20:03 -0500)]
Remove methods using deprecated GET users/suggestions endpoints
This removes API.suggested_categories, API.suggested_users, and API.suggested_users_tweets, as the endpoints these methods use are now deprecated, return a 410 Gone error since June 30, 2019, and should no longer be used.
This also removes the corresponding tests and cassettes and the now obsolete Category model.
Reference:
https://twittercommunity.com/t/upcoming-changes-to-user-object-and-get-users-suggestions-endpoints/124732
Harmon [Tue, 9 Jul 2019 19:50:34 +0000 (14:50 -0500)]
Close Requests sessions
Fixes #810
Fixes #1093
Resolves #1237
Harmon [Sat, 6 Jul 2019 20:24:12 +0000 (15:24 -0500)]
Correct documentation for API.update_status
Fixes #1235
Kyle [Mon, 24 Jun 2019 09:31:23 +0000 (18:31 +0900)]
Change `consumer token` refs to `consumer key`
Harmon [Tue, 2 Jul 2019 00:31:54 +0000 (19:31 -0500)]
Update documentation for API.update_list
Harmon [Tue, 2 Jul 2019 00:21:51 +0000 (19:21 -0500)]
Update documentation for API.destroy_list
Harmon [Wed, 26 Jun 2019 00:14:29 +0000 (19:14 -0500)]
Merge pull request #1169 from HenriqueHott/master
Added _json attribute to Models: List, Friendship and Category
Harmon [Wed, 26 Jun 2019 00:06:01 +0000 (19:06 -0500)]
Add spaces after commas
Harmon [Wed, 26 Jun 2019 00:04:39 +0000 (19:04 -0500)]
Remove unnecessary whitespace changes
Harmon [Fri, 21 Jun 2019 20:43:27 +0000 (15:43 -0500)]
Merge pull request #1227 from kylepw/appauth
Add tweepy.AppAuthHandler documentation
Harmon [Fri, 21 Jun 2019 20:30:06 +0000 (15:30 -0500)]
Merge pull request #939 from gardir/master
Added possibility to compare `eq` and `ne` between users, using the unique `id`s.
Harmon [Fri, 21 Jun 2019 19:22:45 +0000 (14:22 -0500)]
Exclude Python 3.4 from setup python_requires
Harmon [Fri, 21 Jun 2019 19:10:13 +0000 (14:10 -0500)]
Include resultset tests in CI
Harmon [Fri, 21 Jun 2019 19:07:28 +0000 (14:07 -0500)]
Fix resultset tests
Harmon [Fri, 21 Jun 2019 19:00:06 +0000 (14:00 -0500)]
Update auth tests to be compatible with Python 3
Harmon [Fri, 21 Jun 2019 18:49:12 +0000 (13:49 -0500)]
Improve import organization
Harmon [Fri, 21 Jun 2019 18:41:36 +0000 (13:41 -0500)]
Replace deprecated assert_ in tests
With assertTrue
https://docs.python.org/3/library/unittest.html#deprecated-aliases
Harmon [Fri, 21 Jun 2019 18:38:41 +0000 (13:38 -0500)]
Replace deprecated assertEquals in tests
With assertEqual
https://docs.python.org/3/library/unittest.html#deprecated-aliases
Harmon [Fri, 21 Jun 2019 17:00:22 +0000 (12:00 -0500)]
Update test for API.send_direct_message and API.destroy_direct_message
Harmon [Fri, 21 Jun 2019 05:05:33 +0000 (00:05 -0500)]
Update API.destroy_direct_message
Harmon [Fri, 21 Jun 2019 04:48:12 +0000 (23:48 -0500)]
Update API.send_direct_message
Harmon [Fri, 21 Jun 2019 04:04:15 +0000 (23:04 -0500)]
Update API.get_direct_message
Harmon [Fri, 21 Jun 2019 01:54:37 +0000 (20:54 -0500)]
Replace API.direct_messages and API.sent_direct_messages
With API.list_direct_messages
Kyle [Fri, 21 Jun 2019 11:53:24 +0000 (20:53 +0900)]
Add tweepy.AppAuthHandler documentation.
Harmon [Fri, 21 Jun 2019 01:33:27 +0000 (20:33 -0500)]
Update DirectMessage model
Harmon [Wed, 12 Jun 2019 08:07:32 +0000 (03:07 -0500)]
Get loggers through implicit module names
Harmon [Wed, 12 Jun 2019 08:06:23 +0000 (03:06 -0500)]
Replace usage of root logger
Harmon [Sat, 8 Jun 2019 00:51:41 +0000 (19:51 -0500)]
Remove unnecessary type cast when logging unknown streaming message type
Harmon [Sat, 8 Jun 2019 00:46:58 +0000 (19:46 -0500)]
Merge pull request #886 from sjhewitt/streaming-events
handle scrub_geo, status_withheld and user_withheld streaming events
Harmon [Thu, 6 Jun 2019 04:30:58 +0000 (23:30 -0500)]
Remove outdated allowed parameters for API.search
Harmon [Thu, 6 Jun 2019 04:21:48 +0000 (23:21 -0500)]
Update documentation for API.search
Resolves #1199
Harmon [Thu, 6 Jun 2019 03:41:53 +0000 (22:41 -0500)]
Add documentation for API.remove_list_members
Harmon [Thu, 6 Jun 2019 03:34:14 +0000 (22:34 -0500)]
Update documentation for API.add_list_member
Harmon [Thu, 6 Jun 2019 03:27:38 +0000 (22:27 -0500)]
Improve documentation for API.add_list_members
Harmon [Thu, 6 Jun 2019 03:18:52 +0000 (22:18 -0500)]
Merge pull request #704 from hugovk/patch-1
[docs] Lists can have 5,000 members
Harmon [Wed, 5 Jun 2019 11:51:05 +0000 (06:51 -0500)]
Use raw strings for regex patterns
Harmon [Sat, 1 Jun 2019 07:50:50 +0000 (02:50 -0500)]
Add count as allowed parameter for API.friends
Harmon [Sat, 1 Jun 2019 03:10:24 +0000 (22:10 -0500)]
Add changelog for version 3.7.0
Harmon [Sat, 1 Jun 2019 01:47:23 +0000 (20:47 -0500)]
Add changelog for version 3.6.0
Harmon [Sat, 1 Jun 2019 00:42:46 +0000 (19:42 -0500)]
Add v3.4.0 and v3.5.0 to changelog
Harmon [Sat, 25 May 2019 00:33:42 +0000 (19:33 -0500)]
Add @blcksrx to contributors
Per request
Harmon [Fri, 10 May 2019 19:40:15 +0000 (14:40 -0500)]
Add documentation for API.mutes
Harmon [Fri, 10 May 2019 19:27:53 +0000 (14:27 -0500)]
Merge pull request #1215 from blcksrx/mutes
Add API.mutes
Sayed Mohammad Hossein Torabi [Fri, 10 May 2019 16:38:25 +0000 (21:08 +0430)]
fix unvoluntry commit
Sayed Mohammad Hossein Torabi [Fri, 10 May 2019 14:51:43 +0000 (19:21 +0430)]
Add API.mutes_list
Harmon [Wed, 8 May 2019 12:10:48 +0000 (07:10 -0500)]
Update friends_timeline to home_timeline in code snippet documentation
Harmon [Tue, 7 May 2019 06:48:23 +0000 (01:48 -0500)]
Update documentation for API.list_members
Resolves #738
Harmon [Tue, 7 May 2019 06:04:02 +0000 (01:04 -0500)]
Update documentation for API.is_subscribed_list to API.show_list_subscriber
Resolves #1202
Harmon [Tue, 7 May 2019 05:41:10 +0000 (00:41 -0500)]
Update documentation for API.get_list
Resolves #1201
Harmon [Tue, 7 May 2019 05:30:59 +0000 (00:30 -0500)]
Update documentation for API.is_list_member to API.show_list_member
Harmon [Tue, 7 May 2019 05:21:47 +0000 (00:21 -0500)]
Organize documentation parameters alphabetically
Harmon [Tue, 7 May 2019 01:11:47 +0000 (20:11 -0500)]
Correct documentation for API.report_spam
Harmon [Tue, 7 May 2019 01:05:37 +0000 (20:05 -0500)]
Merge pull request #1090 from shuuji3/add-support-report_spam-perform_block-param
Add a support of the 'perform_block' param for api.report_spam() method
Harmon [Sun, 5 May 2019 23:48:56 +0000 (18:48 -0500)]
Update documentation for API.create_list
Harmon [Sun, 5 May 2019 23:40:46 +0000 (18:40 -0500)]
Merge pull request #904 from Prakash2403/patch-1
Added missing return keyword
Harmon [Sat, 4 May 2019 18:40:34 +0000 (13:40 -0500)]
Drop support for Python 3.4
Python 3.4 has now reached its end-of-life and has been retired.
https://www.python.org/dev/peps/pep-0429/
Harmon [Sat, 4 May 2019 18:28:53 +0000 (13:28 -0500)]
Update setup Development Status classifier
Harmon [Sat, 4 May 2019 09:47:15 +0000 (04:47 -0500)]
Change API.mutes_ids payload type to ids
Harmon [Sat, 4 May 2019 09:44:13 +0000 (04:44 -0500)]
Merge pull request #931 from codingcatgirl/patch-1
Change API.blocks_ids payload type to ids
Harmon [Sat, 4 May 2019 09:33:13 +0000 (04:33 -0500)]
Merge branch 'master' into patch-1
Harmon [Sat, 4 May 2019 09:29:24 +0000 (04:29 -0500)]
Merge pull request #1208 from okomarov/feature/add_cursor_option
Add cursor param to blocks_ids and mutes_ids