tweepy.git
2 years agoImprove heading level in v4.9.0 changelog
Harmon [Thu, 5 May 2022 14:46:15 +0000 (09:46 -0500)]
Improve heading level in v4.9.0 changelog

2 years agoRelease v4.9.0
Harmon [Thu, 5 May 2022 14:19:06 +0000 (09:19 -0500)]
Release v4.9.0

2 years agoAdd changelog for version 4.9.0
Harmon [Thu, 5 May 2022 14:17:08 +0000 (09:17 -0500)]
Add changelog for version 4.9.0

2 years agoNote deprecation of compliance messages for Stream.filter
Harmon [Sat, 30 Apr 2022 11:35:56 +0000 (06:35 -0500)]
Note deprecation of compliance messages for Stream.filter

2 years agoDeprecate Stream.sample
Harmon [Sat, 30 Apr 2022 11:23:10 +0000 (06:23 -0500)]
Deprecate Stream.sample

https://twittercommunity.com/t/deprecation-announcement-removing-compliance-messages-from-statuses-filter-and-retiring-statuses-sample-from-the-twitter-api-v1-1/170500

2 years agoHandle "error" key of response being a string in HTTPException
Harmon [Thu, 21 Apr 2022 23:22:28 +0000 (18:22 -0500)]
Handle "error" key of response being a string in HTTPException

2 years agoFix logging documentation to use lowercase logger name
Harmon [Tue, 19 Apr 2022 20:21:05 +0000 (15:21 -0500)]
Fix logging documentation to use lowercase logger name

2 years agoUpdate documentation for Media.url
Harmon [Tue, 19 Apr 2022 20:14:44 +0000 (15:14 -0500)]
Update documentation for Media.url

2 years agoUpdate documentation for Space.subscriber_count
Harmon [Tue, 19 Apr 2022 20:03:09 +0000 (15:03 -0500)]
Update documentation for Space.subscriber_count

2 years agoFallback to detail response value for HTTPException message
Harmon [Thu, 14 Apr 2022 22:53:05 +0000 (17:53 -0500)]
Fallback to detail response value for HTTPException message

2 years agoRemove tests_require from setup.py
Harmon [Wed, 6 Apr 2022 01:22:44 +0000 (20:22 -0500)]
Remove tests_require from setup.py

setup.py test has been deprecated with https://github.com/pypa/setuptools/issues/1684 and https://github.com/pypa/setuptools/pull/1878 since setuptools v41.5.0

2 years agoUpdate lower bound for dev extra tox requirement
Harmon [Tue, 5 Apr 2022 23:47:07 +0000 (18:47 -0500)]
Update lower bound for dev extra tox requirement

2 years agoUse setup.cfg for tox configuration
Harmon [Tue, 5 Apr 2022 23:45:36 +0000 (18:45 -0500)]
Use setup.cfg for tox configuration

2 years agoStop creating universal wheels
Harmon [Tue, 5 Apr 2022 23:42:49 +0000 (18:42 -0500)]
Stop creating universal wheels

2 years agoExplicitly specify coverage requirement for dev extra
Harmon [Tue, 5 Apr 2022 23:34:36 +0000 (18:34 -0500)]
Explicitly specify coverage requirement for dev extra

2 years agoUse setup.cfg for coverage.py configuration
Harmon [Tue, 5 Apr 2022 23:27:22 +0000 (18:27 -0500)]
Use setup.cfg for coverage.py configuration

2 years agoImprove API.indicate_direct_message_typing test cassette and method name
Harmon [Sun, 3 Apr 2022 09:27:32 +0000 (04:27 -0500)]
Improve API.indicate_direct_message_typing test cassette and method name

2 years agoImprove Client test cassette names
Harmon [Sun, 3 Apr 2022 09:21:20 +0000 (04:21 -0500)]
Improve Client test cassette names

2 years agoDefault to YAML serializer for cassettes
Harmon [Sun, 3 Apr 2022 09:15:21 +0000 (04:15 -0500)]
Default to YAML serializer for cassettes

2 years agoAdd API.indicate_direct_message_typing and API.mark_direct_message_read
Harmon [Sun, 3 Apr 2022 08:51:16 +0000 (03:51 -0500)]
Add API.indicate_direct_message_typing and API.mark_direct_message_read

Resolves #1856

2 years agoAdd Client test and cassette for Bookmarks methods
Harmon [Thu, 24 Mar 2022 21:54:15 +0000 (16:54 -0500)]
Add Client test and cassette for Bookmarks methods

2 years agoImprove formatting in Client tests
Harmon [Thu, 24 Mar 2022 21:39:26 +0000 (16:39 -0500)]
Improve formatting in Client tests

2 years agoRelease v4.8.0
Harmon [Thu, 24 Mar 2022 20:55:51 +0000 (15:55 -0500)]
Release v4.8.0

2 years agoAdd changelog for version 4.8.0
Harmon [Thu, 24 Mar 2022 20:51:21 +0000 (15:51 -0500)]
Add changelog for version 4.8.0

2 years agoAdd Client.remove_bookmark, Client.get_bookmarks, and Client.bookmark
Harmon [Thu, 24 Mar 2022 20:39:39 +0000 (15:39 -0500)]
Add Client.remove_bookmark, Client.get_bookmarks, and Client.bookmark

Resolves #1848

2 years agoRaise NotFound when encountering 404 status codes in BaseClient.request
Harmon [Thu, 24 Mar 2022 06:18:30 +0000 (01:18 -0500)]
Raise NotFound when encountering 404 status codes in BaseClient.request

Raise NotFound rather than HTTPException when encountering 404 response status codes in BaseClient.request

2 years agoDefault oauth_1 kwarg to False for Client._get_authenticating_user_id
Harmon [Thu, 24 Mar 2022 06:06:35 +0000 (01:06 -0500)]
Default oauth_1 kwarg to False for Client._get_authenticating_user_id

2 years agoRename Client._get_authenticating_user_id kwarg to oauth_1
Harmon [Thu, 24 Mar 2022 06:01:10 +0000 (01:01 -0500)]
Rename Client._get_authenticating_user_id kwarg to oauth_1

2 years agoAdd support for OAuth 2.0 Authorization Code Flow with Client methods
Harmon [Thu, 24 Mar 2022 05:21:48 +0000 (00:21 -0500)]
Add support for OAuth 2.0 Authorization Code Flow with Client methods

Add support for using OAuth 2.0 Authorization Code Flow with Client methods that require the authenticating user's ID
Raise TypeError for those methods when the access token isn't set

2 years agoRelease v4.7.0
Harmon [Thu, 17 Mar 2022 22:58:27 +0000 (17:58 -0500)]
Release v4.7.0

2 years agoAdd changelog for version 4.7.0
Harmon [Thu, 17 Mar 2022 22:52:44 +0000 (17:52 -0500)]
Add changelog for version 4.7.0

2 years agoAdd Client.get_quote_tweets
Harmon [Thu, 17 Mar 2022 22:45:43 +0000 (17:45 -0500)]
Add Client.get_quote_tweets

Resolves #1844

2 years agoImprove wording in changelog
Harmon [Wed, 16 Mar 2022 18:31:56 +0000 (13:31 -0500)]
Improve wording in changelog

Breaking -> Backwards-Incompatible

2 years agoImprove API v2 example names
Harmon [Wed, 16 Mar 2022 18:27:33 +0000 (13:27 -0500)]
Improve API v2 example names

2 years agoCorrect documentation for Client.get_retweeters max_results parameter
Harmon [Wed, 16 Mar 2022 18:17:33 +0000 (13:17 -0500)]
Correct documentation for Client.get_retweeters max_results parameter

2 years agoCorrect documentation for Client.get_liking_users max_results parameter
Harmon [Wed, 16 Mar 2022 18:15:23 +0000 (13:15 -0500)]
Correct documentation for Client.get_liking_users max_results parameter

2 years agoImprove API v2 examples
Harmon [Wed, 16 Mar 2022 18:09:51 +0000 (13:09 -0500)]
Improve API v2 examples

2 years agoMerge pull request #1835 from sparack/add_more_v2_samples
Harmon [Wed, 16 Mar 2022 13:43:42 +0000 (08:43 -0500)]
Merge pull request #1835 from sparack/add_more_v2_samples

Add more examples for Twitter API v2

2 years agoFix parameter name in documentation for Client.get_tweets
Harmon [Mon, 14 Mar 2022 19:04:21 +0000 (14:04 -0500)]
Fix parameter name in documentation for Client.get_tweets

2 years agoFix parameter name in documentation for Client.get_tweet
Harmon [Mon, 14 Mar 2022 19:03:40 +0000 (14:03 -0500)]
Fix parameter name in documentation for Client.get_tweet

2 years agoRemove extra quotation marks in Korean translations of documentation
Harmon [Mon, 7 Mar 2022 21:54:59 +0000 (15:54 -0600)]
Remove extra quotation marks in Korean translations of documentation

2 years agoFixed comments
Suhem Parack [Wed, 2 Mar 2022 04:47:47 +0000 (20:47 -0800)]
Fixed comments

2 years agoupdates based on PR comments
Suhem Parack [Tue, 1 Mar 2022 23:07:15 +0000 (15:07 -0800)]
updates based on PR comments

2 years agoUpdate examples/API_v2/lookup_tweets_using_tweet_ids.py
Suhem Parack [Tue, 1 Mar 2022 22:57:38 +0000 (14:57 -0800)]
Update examples/API_v2/lookup_tweets_using_tweet_ids.py

Co-authored-by: Harmon <Harmon758@gmail.com>
2 years agoUpdate examples/API_v2/lookup_users_using_user_ids.py
Suhem Parack [Tue, 1 Mar 2022 22:57:29 +0000 (14:57 -0800)]
Update examples/API_v2/lookup_users_using_user_ids.py

Co-authored-by: Harmon <Harmon758@gmail.com>
2 years agoImprove wording in FAQ section on accessing data from API v2 models
Harmon [Tue, 1 Mar 2022 22:51:00 +0000 (16:51 -0600)]
Improve wording in FAQ section on accessing data from API v2 models

2 years agoImprove wording in FAQ section on accessing data from API v2 models
Harmon [Tue, 1 Mar 2022 22:48:30 +0000 (16:48 -0600)]
Improve wording in FAQ section on accessing data from API v2 models

2 years agoAdd note about Client.search_all_tweets default
Harmon [Tue, 1 Mar 2022 22:42:56 +0000 (16:42 -0600)]
Add note about Client.search_all_tweets default

2 years agoReplace FAQ section on API.search_tweets limitations with note
Harmon [Tue, 1 Mar 2022 22:32:55 +0000 (16:32 -0600)]
Replace FAQ section on API.search_tweets limitations with note

Replace FAQ section on API.search_tweets limitations with note in method documentation

2 years agoRemove redundant FAQ section on API method renamings
Harmon [Tue, 1 Mar 2022 22:23:07 +0000 (16:23 -0600)]
Remove redundant FAQ section on API method renamings

2 years agoAdd version changed directives for API method renamings
Harmon [Tue, 1 Mar 2022 22:19:16 +0000 (16:19 -0600)]
Add version changed directives for API method renamings

2 years agolinked examples to examples.rst
Suhem Parack [Tue, 1 Mar 2022 21:50:11 +0000 (13:50 -0800)]
linked examples to examples.rst

2 years agoAdded additional user for user lookup
Suhem Parack [Tue, 1 Mar 2022 21:38:14 +0000 (13:38 -0800)]
Added additional user for user lookup

2 years agoUpdated formatting
Suhem Parack [Tue, 1 Mar 2022 21:35:03 +0000 (13:35 -0800)]
Updated formatting

2 years agoUpdates based on comments on PR
Suhem Parack [Tue, 1 Mar 2022 21:25:47 +0000 (13:25 -0800)]
Updates based on comments on PR

2 years agoUpdate examples/API_v2/get_liked_tweets.py
Suhem Parack [Tue, 1 Mar 2022 20:31:19 +0000 (12:31 -0800)]
Update examples/API_v2/get_liked_tweets.py

Co-authored-by: Harmon <Harmon758@gmail.com>
2 years agoImprove FAQ section heading on API.search_tweets limitations
Harmon [Tue, 1 Mar 2022 19:35:33 +0000 (13:35 -0600)]
Improve FAQ section heading on API.search_tweets limitations

2 years agoAdded more examples for Twitter API v2
Suhem Parack [Tue, 1 Mar 2022 16:47:22 +0000 (08:47 -0800)]
Added more examples for Twitter API v2

2 years agoAdd documentation for User
Harmon [Sun, 27 Feb 2022 20:56:30 +0000 (14:56 -0600)]
Add documentation for User

2 years agoAdd documentation for ReferencedTweet
Harmon [Sun, 27 Feb 2022 20:43:15 +0000 (14:43 -0600)]
Add documentation for ReferencedTweet

2 years agoAdd documentation for Tweet
Harmon [Sun, 27 Feb 2022 20:39:42 +0000 (14:39 -0600)]
Add documentation for Tweet

2 years agoOptimize Tweet.referenced_tweets initialization
Harmon [Sun, 27 Feb 2022 20:35:20 +0000 (14:35 -0600)]
Optimize Tweet.referenced_tweets initialization

2 years agoAdd documentation for Space
Harmon [Sun, 27 Feb 2022 20:14:28 +0000 (14:14 -0600)]
Add documentation for Space

2 years agoCorrect Place.contained_within type in documentation
Harmon [Sun, 27 Feb 2022 20:08:23 +0000 (14:08 -0600)]
Correct Place.contained_within type in documentation

2 years agoAdd documentation for Poll
Harmon [Sun, 27 Feb 2022 20:01:14 +0000 (14:01 -0600)]
Add documentation for Poll

2 years agoAdd documentation for Place
Harmon [Sun, 27 Feb 2022 19:55:23 +0000 (13:55 -0600)]
Add documentation for Place

2 years agoAdd documentation for Media
Harmon [Sun, 27 Feb 2022 19:47:28 +0000 (13:47 -0600)]
Add documentation for Media

2 years agoAdd documentation for List
Harmon [Sun, 27 Feb 2022 19:25:18 +0000 (13:25 -0600)]
Add documentation for List

2 years agoImprove documentation for Client parameters
Harmon [Sun, 27 Feb 2022 08:43:03 +0000 (02:43 -0600)]
Improve documentation for Client parameters

Specify OAuth 1.0a or 2.0 and indicate bearer_token as OAuth 2.0 access token as well

2 years agoRemove StreamResponse__init__ documentation
Harmon [Sun, 27 Feb 2022 00:50:44 +0000 (18:50 -0600)]
Remove StreamResponse__init__ documentation

2 years agoRemove Response__init__ documentation
Harmon [Sun, 27 Feb 2022 00:49:40 +0000 (18:49 -0600)]
Remove Response__init__ documentation

2 years agoUse dash instead of underscore for requests-oauthlib requirement
Harmon [Sat, 26 Feb 2022 23:26:15 +0000 (17:26 -0600)]
Use dash instead of underscore for requests-oauthlib requirement

2 years agoFix return for Client.follow
Harmon [Sat, 26 Feb 2022 19:38:32 +0000 (13:38 -0600)]
Fix return for Client.follow

Properly return response from Client.follow_user rather than None

2 years agoFix return for Client.unfollow
Harmon [Sat, 26 Feb 2022 19:37:41 +0000 (13:37 -0600)]
Fix return for Client.unfollow

Properly return response from Client.unfollow_user rather than None

2 years agoFix Client.search_recent_tweets user_auth parameter type documentation
Harmon [Sat, 26 Feb 2022 19:17:23 +0000 (13:17 -0600)]
Fix Client.search_recent_tweets user_auth parameter type documentation

2 years agoIndicate endpoint parameters as optional in Client documentation
Harmon [Sat, 26 Feb 2022 18:50:55 +0000 (12:50 -0600)]
Indicate endpoint parameters as optional in Client documentation

Properly indicate endpoint parameters as optional in documentation for Client methods

2 years agoIndicate parameters as optional in documentation for Client.get_spaces
Harmon [Sat, 26 Feb 2022 18:48:49 +0000 (12:48 -0600)]
Indicate parameters as optional in documentation for Client.get_spaces

Properly indicate ids and user_ids parameters as optional in documentation for Client.get_spaces

2 years agoIndicate parameters as optional in documentation for Client.get_users
Harmon [Sat, 26 Feb 2022 18:48:02 +0000 (12:48 -0600)]
Indicate parameters as optional in documentation for Client.get_users

Properly indicate ids and usernames parameters as optional in documentation for Client.get_users

2 years agoIndicate parameters as optional in documentation for Client.get_user
Harmon [Sat, 26 Feb 2022 18:47:15 +0000 (12:47 -0600)]
Indicate parameters as optional in documentation for Client.get_user

Properly indicate id and username parameters as optional in documentation for Client.get_user

2 years agoAdd parameter to Client.search_recent_tweets signature in documentation
Harmon [Sat, 26 Feb 2022 00:30:14 +0000 (18:30 -0600)]
Add parameter to Client.search_recent_tweets signature in documentation

Add new sort_order parameter to Client.search_recent_tweets signature in documentation

2 years agoAdd parameter to Client.search_all_tweets signature in documentation
Harmon [Sat, 26 Feb 2022 00:29:09 +0000 (18:29 -0600)]
Add parameter to Client.search_all_tweets signature in documentation

Add new sort_order parameter to Client.search_all_tweets signature in documentation

2 years agoAdd parameters to Client.get_retweeters signature in documentation
Harmon [Sat, 26 Feb 2022 00:27:13 +0000 (18:27 -0600)]
Add parameters to Client.get_retweeters signature in documentation

Add new max_results and pagination_token parameters to Client.get_retweeters signature in documentation

2 years agoAdd parameters to Client.get_liking_users signature in documentation
Harmon [Sat, 26 Feb 2022 00:25:34 +0000 (18:25 -0600)]
Add parameters to Client.get_liking_users signature in documentation

Add new max_results and pagination_token parameters to Client.get_liking_users signature in documentation

2 years agoUse generic standard type collection type in documentation
Harmon [Fri, 25 Feb 2022 23:53:56 +0000 (17:53 -0600)]
Use generic standard type collection type in documentation

2 years agoUse | operator for optional types in documentation
Harmon [Fri, 25 Feb 2022 22:48:44 +0000 (16:48 -0600)]
Use | operator for optional types in documentation

2 years agoFix erroneous generic list types in documentation for Client methods
Harmon [Fri, 25 Feb 2022 22:32:32 +0000 (16:32 -0600)]
Fix erroneous generic list types in documentation for Client methods

2 years agoUse | operator for union types in documentation
Harmon [Fri, 25 Feb 2022 22:24:27 +0000 (16:24 -0600)]
Use | operator for union types in documentation

2 years agoFix references for generic list type in documentation
Harmon [Fri, 25 Feb 2022 21:53:33 +0000 (15:53 -0600)]
Fix references for generic list type in documentation

2 years agoUse asyncio.create_task in AsyncStream.filter and AsyncStream.sample
Harmon [Fri, 25 Feb 2022 20:59:15 +0000 (14:59 -0600)]
Use asyncio.create_task in AsyncStream.filter and AsyncStream.sample

2 years agoUse %z directive in parse_datetime
Harmon [Fri, 25 Feb 2022 20:52:31 +0000 (14:52 -0600)]
Use %z directive in parse_datetime

2 years agoUpdate Python requirement to >= 3.7
Harmon [Fri, 25 Feb 2022 20:48:34 +0000 (14:48 -0600)]
Update Python requirement to >= 3.7

2 years agoDrop support for Python 3.6
Harmon [Fri, 25 Feb 2022 20:38:35 +0000 (14:38 -0600)]
Drop support for Python 3.6

Resolves #1788

2 years agoExplicitly specify Read the Docs Sphinx Theme for documentation
Harmon [Fri, 25 Feb 2022 17:01:45 +0000 (11:01 -0600)]
Explicitly specify Read the Docs Sphinx Theme for documentation

2 years agoUse Read the Docs Sphinx search extension
Harmon [Fri, 25 Feb 2022 16:43:50 +0000 (10:43 -0600)]
Use Read the Docs Sphinx search extension

2 years agoUse rubric directive for Example headings in Pagination documentation
Harmon [Fri, 25 Feb 2022 16:22:00 +0000 (10:22 -0600)]
Use rubric directive for Example headings in Pagination documentation

2 years agoOrganize documentation arrangement
Harmon [Fri, 25 Feb 2022 16:05:16 +0000 (10:05 -0600)]
Organize documentation arrangement

Improve index / table of contents categorization

2 years agoImprove Pagination documentation header consistency
Harmon [Fri, 25 Feb 2022 14:58:04 +0000 (08:58 -0600)]
Improve Pagination documentation header consistency

2 years agoRelease v4.6.0
Harmon [Thu, 24 Feb 2022 20:56:30 +0000 (14:56 -0600)]
Release v4.6.0

2 years agoAdd changelog for version 4.6.0
Harmon [Thu, 24 Feb 2022 20:43:09 +0000 (14:43 -0600)]
Add changelog for version 4.6.0

2 years agoOverride Mapping.__contains__ in DataMapping
Harmon [Thu, 24 Feb 2022 19:46:08 +0000 (13:46 -0600)]
Override Mapping.__contains__ in DataMapping

This allows membership tests to check for existence within data, rather than existence of the attribute at all