tweepy.git
5 years agoFix handling of invalid credentials for API.verify_credentials
Harmon [Wed, 28 Aug 2019 16:16:27 +0000 (11:16 -0500)]
Fix handling of invalid credentials for API.verify_credentials

5 years agoUpdate documentation for API.update_status
Harmon [Tue, 27 Aug 2019 04:41:12 +0000 (23:41 -0500)]
Update documentation for API.update_status

5 years agoImprove API formatting
Harmon [Tue, 27 Aug 2019 04:30:12 +0000 (23:30 -0500)]
Improve API formatting

Also fix missing quotation marks in allowed parameters and improve capitalization in docstrings

5 years agoImprove API documentation formatting
Harmon [Tue, 27 Aug 2019 02:57:09 +0000 (21:57 -0500)]
Improve API documentation formatting

5 years agoUse existing documentation for API.statuses_lookup parameter
Harmon [Tue, 27 Aug 2019 02:14:47 +0000 (21:14 -0500)]
Use existing documentation for API.statuses_lookup parameter

5 years agoUpdate allowed parameters for API.update_status
Harmon [Tue, 27 Aug 2019 02:02:04 +0000 (21:02 -0500)]
Update allowed parameters for API.update_status

Resolves #1101

5 years agoUpdate documentation for API.rate_limit_status
Harmon [Tue, 27 Aug 2019 01:34:39 +0000 (20:34 -0500)]
Update documentation for API.rate_limit_status

Resolves #1133

5 years agoFix Cursor set start test
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

5 years agoPass args and kwargs properly
Harmon [Sun, 25 Aug 2019 08:31:50 +0000 (03:31 -0500)]
Pass args and kwargs properly

5 years agoReplace references to kargs with kwargs
Harmon [Sun, 25 Aug 2019 08:20:13 +0000 (03:20 -0500)]
Replace references to kargs with kwargs

5 years agoFix misspelling in API.search documentation
Harmon [Sat, 24 Aug 2019 17:54:30 +0000 (12:54 -0500)]
Fix misspelling in API.search documentation

Copied from Twitter's API

5 years agoMerge pull request #1260 from cmarshall108/patch-1
Harmon [Sat, 24 Aug 2019 17:51:38 +0000 (12:51 -0500)]
Merge pull request #1260 from cmarshall108/patch-1

api: fixed typo

5 years agoapi: fixed typo
Caleb Marshall [Sat, 24 Aug 2019 14:26:35 +0000 (10:26 -0400)]
api: fixed typo

5 years agoMerge pull request #1229 from kylepw/consumerkey
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

5 years agoImprove examples in extended Tweet documentation
Harmon [Wed, 31 Jul 2019 03:38:46 +0000 (22:38 -0500)]
Improve examples in extended Tweet documentation

5 years agoImprove wording in extended Tweets documentation
Harmon [Wed, 31 Jul 2019 03:22:17 +0000 (22:22 -0500)]
Improve wording in extended Tweets documentation

5 years agoImprove wording in extended Tweets documentation
Harmon [Wed, 31 Jul 2019 03:19:06 +0000 (22:19 -0500)]
Improve wording in extended Tweets documentation

5 years agoFix section title styles in Cursor tutorial documentation
Harmon [Wed, 31 Jul 2019 00:59:20 +0000 (19:59 -0500)]
Fix section title styles in Cursor tutorial documentation

5 years agoRemove misplaced section in Cursor tutorial documentation
Harmon [Wed, 31 Jul 2019 00:54:36 +0000 (19:54 -0500)]
Remove misplaced section in Cursor tutorial documentation

5 years agoRemove improper note in documentation for API.get_status
Harmon [Wed, 31 Jul 2019 00:16:51 +0000 (19:16 -0500)]
Remove improper note in documentation for API.get_status

5 years agoImprove footnote formatting in extended Tweets documentation
Harmon [Wed, 31 Jul 2019 00:07:58 +0000 (19:07 -0500)]
Improve footnote formatting in extended Tweets documentation

5 years agoAdd extended Tweets documentation to index
Harmon [Tue, 30 Jul 2019 23:22:02 +0000 (18:22 -0500)]
Add extended Tweets documentation to index

5 years agoAdd documentation for extended Tweets
Harmon [Tue, 30 Jul 2019 23:20:42 +0000 (18:20 -0500)]
Add documentation for extended Tweets

5 years agoOrder tests alphabetically in Travis CI tests configuration
Harmon [Mon, 22 Jul 2019 05:22:17 +0000 (00:22 -0500)]
Order tests alphabetically in Travis CI tests configuration

5 years agoOrder tests alphabetically in tox configuration
Harmon [Mon, 22 Jul 2019 05:20:57 +0000 (00:20 -0500)]
Order tests alphabetically in tox configuration

5 years agoInclude resultset tests in tox configuration
Harmon [Mon, 22 Jul 2019 05:20:03 +0000 (00:20 -0500)]
Include resultset tests in tox configuration

5 years agoFix documentation for API.search return type
Harmon [Sat, 20 Jul 2019 23:09:08 +0000 (18:09 -0500)]
Fix documentation for API.search return type

5 years agoUpdate documentation badge to v3.8.0
Harmon [Mon, 15 Jul 2019 01:26:17 +0000 (20:26 -0500)]
Update documentation badge to v3.8.0

5 years agoRelease v3.8.0
Harmon [Mon, 15 Jul 2019 01:15:46 +0000 (20:15 -0500)]
Release v3.8.0

5 years agoAdd changelog for version 3.8.0
Harmon [Mon, 15 Jul 2019 01:14:14 +0000 (20:14 -0500)]
Add changelog for version 3.8.0

5 years agoMerge pull request #1228 from tweepy/dm-migration
Harmon [Sun, 14 Jul 2019 20:05:26 +0000 (15:05 -0500)]
Merge pull request #1228 from tweepy/dm-migration

Direct Message migration

5 years agoMerge branch 'master' into dm-migration
Harmon [Sun, 14 Jul 2019 19:57:52 +0000 (14:57 -0500)]
Merge branch 'master' into dm-migration

5 years agoUpdate cassettes
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

5 years agoMerge pull request #1242 from tweepy/tests-and-cassettes-update
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

5 years agoRemove old Travis CI environment variables
Harmon [Sat, 13 Jul 2019 02:49:07 +0000 (21:49 -0500)]
Remove old Travis CI environment variables

For credentials for old test account

5 years agoUpdate cassettes
Harmon [Sat, 13 Jul 2019 02:39:47 +0000 (21:39 -0500)]
Update cassettes

5 years agoUpdate default test account
Harmon [Sat, 13 Jul 2019 02:30:49 +0000 (21:30 -0500)]
Update default test account

5 years agoGeneralize hardcoded tests
Harmon [Sat, 13 Jul 2019 02:29:29 +0000 (21:29 -0500)]
Generalize hardcoded tests

5 years agoSkip DM tests for now
Harmon [Sat, 13 Jul 2019 01:53:32 +0000 (20:53 -0500)]
Skip DM tests for now

5 years agoLower test requirements for Tweets and Following
Harmon [Sat, 13 Jul 2019 01:53:09 +0000 (20:53 -0500)]
Lower test requirements for Tweets and Following

5 years agoFix test for API.supported_languages
Harmon [Sat, 13 Jul 2019 01:52:38 +0000 (20:52 -0500)]
Fix test for API.supported_languages

5 years agoFix screen name capitalization in tests
Harmon [Sat, 13 Jul 2019 01:51:36 +0000 (20:51 -0500)]
Fix screen name capitalization in tests

5 years agoStandardize inline comment spacing in API tests
Harmon [Sat, 13 Jul 2019 01:21:41 +0000 (20:21 -0500)]
Standardize inline comment spacing in API tests

5 years agoRemove methods using deprecated GET users/suggestions endpoints
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

5 years agoClose Requests sessions
Harmon [Tue, 9 Jul 2019 19:50:34 +0000 (14:50 -0500)]
Close Requests sessions

Fixes #810
Fixes #1093
Resolves #1237

5 years agoCorrect documentation for API.update_status
Harmon [Sat, 6 Jul 2019 20:24:12 +0000 (15:24 -0500)]
Correct documentation for API.update_status

Fixes #1235

5 years agoChange `consumer token` refs to `consumer key`
Kyle [Mon, 24 Jun 2019 09:31:23 +0000 (18:31 +0900)]
Change `consumer token` refs to `consumer key`

5 years agoUpdate documentation for API.update_list
Harmon [Tue, 2 Jul 2019 00:31:54 +0000 (19:31 -0500)]
Update documentation for API.update_list

5 years agoUpdate documentation for API.destroy_list
Harmon [Tue, 2 Jul 2019 00:21:51 +0000 (19:21 -0500)]
Update documentation for API.destroy_list

5 years agoMerge pull request #1169 from HenriqueHott/master
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

5 years agoAdd spaces after commas
Harmon [Wed, 26 Jun 2019 00:06:01 +0000 (19:06 -0500)]
Add spaces after commas

5 years agoRemove unnecessary whitespace changes
Harmon [Wed, 26 Jun 2019 00:04:39 +0000 (19:04 -0500)]
Remove unnecessary whitespace changes

5 years agoMerge pull request #1227 from kylepw/appauth
Harmon [Fri, 21 Jun 2019 20:43:27 +0000 (15:43 -0500)]
Merge pull request #1227 from kylepw/appauth

Add tweepy.AppAuthHandler documentation

5 years agoMerge pull request #939 from gardir/master
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.

5 years agoExclude Python 3.4 from setup python_requires
Harmon [Fri, 21 Jun 2019 19:22:45 +0000 (14:22 -0500)]
Exclude Python 3.4 from setup python_requires

5 years agoInclude resultset tests in CI
Harmon [Fri, 21 Jun 2019 19:10:13 +0000 (14:10 -0500)]
Include resultset tests in CI

5 years agoFix resultset tests
Harmon [Fri, 21 Jun 2019 19:07:28 +0000 (14:07 -0500)]
Fix resultset tests

5 years agoUpdate auth tests to be compatible with Python 3
Harmon [Fri, 21 Jun 2019 19:00:06 +0000 (14:00 -0500)]
Update auth tests to be compatible with Python 3

5 years agoImprove import organization
Harmon [Fri, 21 Jun 2019 18:49:12 +0000 (13:49 -0500)]
Improve import organization

5 years agoReplace deprecated assert_ in tests
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

5 years agoReplace deprecated assertEquals in tests
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

5 years agoUpdate test for API.send_direct_message and API.destroy_direct_message
Harmon [Fri, 21 Jun 2019 17:00:22 +0000 (12:00 -0500)]
Update test for API.send_direct_message and API.destroy_direct_message

5 years agoUpdate API.destroy_direct_message
Harmon [Fri, 21 Jun 2019 05:05:33 +0000 (00:05 -0500)]
Update API.destroy_direct_message

5 years agoUpdate API.send_direct_message
Harmon [Fri, 21 Jun 2019 04:48:12 +0000 (23:48 -0500)]
Update API.send_direct_message

5 years agoUpdate API.get_direct_message
Harmon [Fri, 21 Jun 2019 04:04:15 +0000 (23:04 -0500)]
Update API.get_direct_message

5 years agoReplace API.direct_messages and API.sent_direct_messages
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

5 years agoAdd tweepy.AppAuthHandler documentation.
Kyle [Fri, 21 Jun 2019 11:53:24 +0000 (20:53 +0900)]
Add tweepy.AppAuthHandler documentation.

5 years agoUpdate DirectMessage model
Harmon [Fri, 21 Jun 2019 01:33:27 +0000 (20:33 -0500)]
Update DirectMessage model

5 years agoGet loggers through implicit module names
Harmon [Wed, 12 Jun 2019 08:07:32 +0000 (03:07 -0500)]
Get loggers through implicit module names

5 years agoReplace usage of root logger
Harmon [Wed, 12 Jun 2019 08:06:23 +0000 (03:06 -0500)]
Replace usage of root logger

5 years agoRemove unnecessary type cast when logging unknown streaming message type
Harmon [Sat, 8 Jun 2019 00:51:41 +0000 (19:51 -0500)]
Remove unnecessary type cast when logging unknown streaming message type

5 years agoMerge pull request #886 from sjhewitt/streaming-events
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

5 years agoRemove outdated allowed parameters for API.search
Harmon [Thu, 6 Jun 2019 04:30:58 +0000 (23:30 -0500)]
Remove outdated allowed parameters for API.search

5 years agoUpdate documentation for API.search
Harmon [Thu, 6 Jun 2019 04:21:48 +0000 (23:21 -0500)]
Update documentation for API.search

Resolves #1199

5 years agoAdd documentation for API.remove_list_members
Harmon [Thu, 6 Jun 2019 03:41:53 +0000 (22:41 -0500)]
Add documentation for API.remove_list_members

5 years agoUpdate documentation for API.add_list_member
Harmon [Thu, 6 Jun 2019 03:34:14 +0000 (22:34 -0500)]
Update documentation for API.add_list_member

5 years agoImprove documentation for API.add_list_members
Harmon [Thu, 6 Jun 2019 03:27:38 +0000 (22:27 -0500)]
Improve documentation for API.add_list_members

5 years agoMerge pull request #704 from hugovk/patch-1
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

5 years agoUse raw strings for regex patterns
Harmon [Wed, 5 Jun 2019 11:51:05 +0000 (06:51 -0500)]
Use raw strings for regex patterns

5 years agoAdd count as allowed parameter for API.friends
Harmon [Sat, 1 Jun 2019 07:50:50 +0000 (02:50 -0500)]
Add count as allowed parameter for API.friends

5 years agoAdd changelog for version 3.7.0
Harmon [Sat, 1 Jun 2019 03:10:24 +0000 (22:10 -0500)]
Add changelog for version 3.7.0

5 years agoAdd changelog for version 3.6.0
Harmon [Sat, 1 Jun 2019 01:47:23 +0000 (20:47 -0500)]
Add changelog for version 3.6.0

5 years agoAdd v3.4.0 and v3.5.0 to changelog
Harmon [Sat, 1 Jun 2019 00:42:46 +0000 (19:42 -0500)]
Add v3.4.0 and v3.5.0 to changelog

5 years agoAdd @blcksrx to contributors
Harmon [Sat, 25 May 2019 00:33:42 +0000 (19:33 -0500)]
Add @blcksrx to contributors

Per request

5 years agoAdd documentation for API.mutes
Harmon [Fri, 10 May 2019 19:40:15 +0000 (14:40 -0500)]
Add documentation for API.mutes

5 years agoMerge pull request #1215 from blcksrx/mutes
Harmon [Fri, 10 May 2019 19:27:53 +0000 (14:27 -0500)]
Merge pull request #1215 from blcksrx/mutes

Add API.mutes

5 years agofix unvoluntry commit
Sayed Mohammad Hossein Torabi [Fri, 10 May 2019 16:38:25 +0000 (21:08 +0430)]
fix unvoluntry commit

5 years agoAdd API.mutes_list
Sayed Mohammad Hossein Torabi [Fri, 10 May 2019 14:51:43 +0000 (19:21 +0430)]
Add API.mutes_list

5 years agoUpdate friends_timeline to home_timeline in code snippet documentation
Harmon [Wed, 8 May 2019 12:10:48 +0000 (07:10 -0500)]
Update friends_timeline to home_timeline in code snippet documentation

5 years agoUpdate documentation for API.list_members
Harmon [Tue, 7 May 2019 06:48:23 +0000 (01:48 -0500)]
Update documentation for API.list_members

Resolves #738

5 years agoUpdate documentation for API.is_subscribed_list to API.show_list_subscriber
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

5 years agoUpdate documentation for API.get_list
Harmon [Tue, 7 May 2019 05:41:10 +0000 (00:41 -0500)]
Update documentation for API.get_list

Resolves #1201

5 years agoUpdate documentation for API.is_list_member to API.show_list_member
Harmon [Tue, 7 May 2019 05:30:59 +0000 (00:30 -0500)]
Update documentation for API.is_list_member to API.show_list_member

5 years agoOrganize documentation parameters alphabetically
Harmon [Tue, 7 May 2019 05:21:47 +0000 (00:21 -0500)]
Organize documentation parameters alphabetically

5 years agoCorrect documentation for API.report_spam
Harmon [Tue, 7 May 2019 01:11:47 +0000 (20:11 -0500)]
Correct documentation for API.report_spam

5 years agoMerge pull request #1090 from shuuji3/add-support-report_spam-perform_block-param
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

5 years agoUpdate documentation for API.create_list
Harmon [Sun, 5 May 2019 23:48:56 +0000 (18:48 -0500)]
Update documentation for API.create_list

5 years agoMerge pull request #904 from Prakash2403/patch-1
Harmon [Sun, 5 May 2019 23:40:46 +0000 (18:40 -0500)]
Merge pull request #904 from Prakash2403/patch-1

Added missing return keyword

5 years agoDrop support for Python 3.4
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/

5 years agoUpdate setup Development Status classifier
Harmon [Sat, 4 May 2019 18:28:53 +0000 (13:28 -0500)]
Update setup Development Status classifier