tweepy.git
3 years agoAdd user_auth parameter to Client methods
Harmon [Mon, 5 Apr 2021 14:21:24 +0000 (09:21 -0500)]
Add user_auth parameter to Client methods

3 years agoAdd error and rate limit handling for Client
Harmon [Sun, 4 Apr 2021 17:25:50 +0000 (12:25 -0500)]
Add error and rate limit handling for Client

3 years agoMerge branch 'master' into api-v2
Harmon [Sun, 4 Apr 2021 16:04:56 +0000 (11:04 -0500)]
Merge branch 'master' into api-v2

3 years agoProperly handle HTTP request errors with no Twitter API errors
Harmon [Sun, 4 Apr 2021 16:03:49 +0000 (11:03 -0500)]
Properly handle HTTP request errors with no Twitter API errors

3 years agoMerge branch 'master' into api-v2
Harmon [Sun, 4 Apr 2021 15:54:21 +0000 (10:54 -0500)]
Merge branch 'master' into api-v2

3 years agoHandle Twitter API errors with successful HTTP status codes
Harmon [Sun, 4 Apr 2021 15:07:55 +0000 (10:07 -0500)]
Handle Twitter API errors with successful HTTP status codes

3 years agoImprove formatting in mixins.py
Harmon [Sun, 4 Apr 2021 14:56:06 +0000 (09:56 -0500)]
Improve formatting in mixins.py

3 years agoIgnore tweet_mode when warning about unexpected parameters
Harmon [Sun, 4 Apr 2021 14:54:45 +0000 (09:54 -0500)]
Ignore tweet_mode when warning about unexpected parameters

3 years agoHandle ChunkedEncodingError during streaming
Harmon [Sun, 4 Apr 2021 14:50:41 +0000 (09:50 -0500)]
Handle ChunkedEncodingError during streaming

3 years agoMerge pull request #1486 from tweepy/video-upload
Harmon [Sun, 4 Apr 2021 14:32:38 +0000 (09:32 -0500)]
Merge pull request #1486 from tweepy/video-upload

Rework media uploading

3 years agoMerge branch 'master' into video-upload
Harmon [Sun, 4 Apr 2021 14:28:52 +0000 (09:28 -0500)]
Merge branch 'master' into video-upload

3 years agoAdd TwitterServerError
Harmon [Sun, 4 Apr 2021 14:22:50 +0000 (09:22 -0500)]
Add TwitterServerError

3 years agoAdd BadRequest
Harmon [Sun, 4 Apr 2021 14:16:02 +0000 (09:16 -0500)]
Add BadRequest

3 years agoAdd Forbidden
Harmon [Sun, 4 Apr 2021 14:06:12 +0000 (09:06 -0500)]
Add Forbidden

3 years agoAdd Unauthorized
Harmon [Sun, 4 Apr 2021 13:57:11 +0000 (08:57 -0500)]
Add Unauthorized

3 years agoAdd NotFound
Harmon [Sun, 4 Apr 2021 13:52:42 +0000 (08:52 -0500)]
Add NotFound

3 years agoReplace TweepError with HTTPException
Harmon [Sun, 4 Apr 2021 13:34:03 +0000 (08:34 -0500)]
Replace TweepError with HTTPException

Replace RateLimitError with TooManyRequests
Remove Parser.parse_error

3 years agoReplace TweepError with TweepyException where not HTTP request error
Harmon [Wed, 24 Mar 2021 09:04:24 +0000 (04:04 -0500)]
Replace TweepError with TweepyException where not HTTP request error

3 years agoAdd TweepyException
Harmon [Wed, 24 Mar 2021 08:54:32 +0000 (03:54 -0500)]
Add TweepyException

3 years agoHandle response.data being None in Paginator.flatten
Harmon [Fri, 19 Mar 2021 23:10:38 +0000 (18:10 -0500)]
Handle response.data being None in Paginator.flatten

3 years agoAdd pagination for Client
Harmon [Fri, 19 Mar 2021 21:29:20 +0000 (16:29 -0500)]
Add pagination for Client

3 years agoProperly pass query for Client.search_all_tweets
Harmon [Wed, 24 Feb 2021 03:57:43 +0000 (21:57 -0600)]
Properly pass query for Client.search_all_tweets

3 years agoAdd docstring for Client.search_all_tweets
Harmon [Wed, 24 Feb 2021 03:56:23 +0000 (21:56 -0600)]
Add docstring for Client.search_all_tweets

3 years agoFix endpoint parameters for Client.get_user and Client.get_users
Harmon [Wed, 24 Feb 2021 03:54:25 +0000 (21:54 -0600)]
Fix endpoint parameters for Client.get_user and Client.get_users

3 years agoRename Client._make_request parameter
Harmon [Wed, 24 Feb 2021 03:52:53 +0000 (21:52 -0600)]
Rename Client._make_request parameter

Rename allowed_params Client._make_request parameter to endpoint_parameters

3 years agoImprove formatting in Client.unfollow
Harmon [Wed, 24 Feb 2021 03:44:50 +0000 (21:44 -0600)]
Improve formatting in Client.unfollow

3 years agoChange Client method parameter names to match API endpoints
Harmon [Wed, 24 Feb 2021 03:44:04 +0000 (21:44 -0600)]
Change Client method parameter names to match API endpoints

3 years agoFix reference links in API.get_tweet and API.get_tweets docstrings
Harmon [Wed, 24 Feb 2021 03:35:24 +0000 (21:35 -0600)]
Fix reference links in API.get_tweet and API.get_tweets docstrings

Fix Twitter Developer API reference links for API.get_tweet and API.get_tweets

3 years agoSeparate Client.get_user from Client.get_users
Harmon [Wed, 24 Feb 2021 03:32:33 +0000 (21:32 -0600)]
Separate Client.get_user from Client.get_users

3 years agoSeparate Client.get_tweet from Client.get_tweets
Harmon [Wed, 24 Feb 2021 03:22:02 +0000 (21:22 -0600)]
Separate Client.get_tweet from Client.get_tweets

3 years agoFix reference to usernames parameter in Client.get_users
Harmon [Wed, 24 Feb 2021 03:11:00 +0000 (21:11 -0600)]
Fix reference to usernames parameter in Client.get_users

3 years agoAdd Client.follow and Client.unfollow
Harmon [Wed, 24 Feb 2021 03:08:49 +0000 (21:08 -0600)]
Add Client.follow and Client.unfollow

3 years agoInitial implementation for Twitter API v2 support
Harmon [Tue, 23 Feb 2021 03:43:29 +0000 (21:43 -0600)]
Initial implementation for Twitter API v2 support

3 years agoRename Hashable to HashableID
Harmon [Tue, 23 Feb 2021 03:21:52 +0000 (21:21 -0600)]
Rename Hashable to HashableID

3 years agoRename EqualityComparable to EqualityComparableID
Harmon [Tue, 23 Feb 2021 03:20:35 +0000 (21:20 -0600)]
Rename EqualityComparable to EqualityComparableID

3 years agoMerge pull request #830 from fitnr/follow_int
Harmon [Sun, 21 Feb 2021 21:46:53 +0000 (15:46 -0600)]
Merge pull request #830 from fitnr/follow_int

Allow int or str IDs as streaming arguments

3 years agoMerge branch 'master' into follow_int
Harmon [Sun, 21 Feb 2021 21:45:42 +0000 (15:45 -0600)]
Merge branch 'master' into follow_int

3 years agoUse map for string casts in Stream.filter
Harmon [Sun, 21 Feb 2021 21:43:45 +0000 (15:43 -0600)]
Use map for string casts in Stream.filter

3 years agoImprove Twitter Developer API reference link for API.media_upload
Harmon [Sun, 21 Feb 2021 04:47:34 +0000 (22:47 -0600)]
Improve Twitter Developer API reference link for API.media_upload

3 years agoUpdate Twitter Developer API reference links in API method docstrings
Harmon [Sun, 21 Feb 2021 04:46:53 +0000 (22:46 -0600)]
Update Twitter Developer API reference links in API method docstrings

3 years agoAdd wait_for_async_finalize parameter for API.chunked_upload
Harmon [Sun, 21 Feb 2021 04:24:38 +0000 (22:24 -0600)]
Add wait_for_async_finalize parameter for API.chunked_upload

3 years agoClarify documentation for media upload methods
Harmon [Sun, 21 Feb 2021 04:16:34 +0000 (22:16 -0600)]
Clarify documentation for media upload methods

So as to refer to uploading media rather than only images

3 years agoSpecify what methods are called in documentation for API.chunked_upload
Harmon [Sun, 21 Feb 2021 04:13:20 +0000 (22:13 -0600)]
Specify what methods are called in documentation for API.chunked_upload

3 years agoSpecify what methods are called in documentation for API.media_upload
Harmon [Sun, 21 Feb 2021 04:12:57 +0000 (22:12 -0600)]
Specify what methods are called in documentation for API.media_upload

3 years agoImprove documentation to clarify usage of chunked upload endpoints
Harmon [Sat, 20 Feb 2021 01:20:03 +0000 (19:20 -0600)]
Improve documentation to clarify usage of chunked upload endpoints

3 years agoAdd documentation for API.chunked_upload_finalize
Harmon [Sat, 20 Feb 2021 01:14:57 +0000 (19:14 -0600)]
Add documentation for API.chunked_upload_finalize

3 years agoAdd documentation for API.chunked_upload_append
Harmon [Sat, 20 Feb 2021 01:09:29 +0000 (19:09 -0600)]
Add documentation for API.chunked_upload_append

3 years agoAdd documentation for API.chunked_upload_init
Harmon [Sat, 20 Feb 2021 01:04:25 +0000 (19:04 -0600)]
Add documentation for API.chunked_upload_init

3 years agoAdd documentation for API.chunked_upload
Harmon [Sat, 20 Feb 2021 00:46:56 +0000 (18:46 -0600)]
Add documentation for API.chunked_upload

3 years agoAdd and use documented parameters
Harmon [Sat, 20 Feb 2021 00:40:57 +0000 (18:40 -0600)]
Add and use documented parameters

Add and use additional_owners, file, filename, and media_category documented parameters

3 years agoAdd documentation for API.simple_upload
Harmon [Sat, 20 Feb 2021 00:34:17 +0000 (18:34 -0600)]
Add documentation for API.simple_upload

3 years agoUpdate documentation for API.media_upload
Harmon [Sat, 20 Feb 2021 00:23:54 +0000 (18:23 -0600)]
Update documentation for API.media_upload

3 years agoRemove extraneous space in API.update_with_media
Harmon [Sat, 20 Feb 2021 00:02:01 +0000 (18:02 -0600)]
Remove extraneous space in API.update_with_media

3 years agoMerge branch 'master' into video-upload
Harmon [Sat, 20 Feb 2021 00:00:11 +0000 (18:00 -0600)]
Merge branch 'master' into video-upload

3 years agoUpdate Twitter Developer API reference links in API method docstrings
Harmon [Fri, 19 Feb 2021 23:52:21 +0000 (17:52 -0600)]
Update Twitter Developer API reference links in API method docstrings

3 years agoStop allowing positional arguments for API.request
Harmon [Fri, 19 Feb 2021 23:34:21 +0000 (17:34 -0600)]
Stop allowing positional arguments for API.request

Stop allowing positional arguments besides method and endpoint for API.request

3 years agoPass endpoint parameters to API.request as kwargs in API methods
Harmon [Fri, 19 Feb 2021 23:33:20 +0000 (17:33 -0600)]
Pass endpoint parameters to API.request as kwargs in API methods

3 years agoPass endpoint parameters to API.request as kwargs in API.reverse_geocode
Harmon [Fri, 19 Feb 2021 23:27:34 +0000 (17:27 -0600)]
Pass endpoint parameters to API.request as kwargs in API.reverse_geocode

3 years agoPass endpoint parameters to API.request as kwargs in API methods
Harmon [Fri, 19 Feb 2021 23:20:13 +0000 (17:20 -0600)]
Pass endpoint parameters to API.request as kwargs in API methods

3 years agoStop allowing positional arguments besides filename for API.media_upload
Harmon [Fri, 19 Feb 2021 23:11:53 +0000 (17:11 -0600)]
Stop allowing positional arguments besides filename for API.media_upload

3 years agoAdd endpoint parameters for API.media_upload
Harmon [Fri, 19 Feb 2021 23:10:43 +0000 (17:10 -0600)]
Add endpoint parameters for API.media_upload

Add media_category and additional_owners endpoint parameters for API.media_upload

3 years agoSpecify file kwarg for API.media_upload explicitly
Harmon [Fri, 19 Feb 2021 23:07:52 +0000 (17:07 -0600)]
Specify file kwarg for API.media_upload explicitly

3 years agoReorder API.update_with_media parameters
Harmon [Fri, 19 Feb 2021 23:00:57 +0000 (17:00 -0600)]
Reorder API.update_with_media parameters

3 years agoStop allowing positional arguments for API.update_with_media
Harmon [Fri, 19 Feb 2021 22:59:52 +0000 (16:59 -0600)]
Stop allowing positional arguments for API.update_with_media

Stop allowing positional arguments besides filename and status for API.update_with_media

3 years agoRequire status parameter for API.update_with_media
Harmon [Fri, 19 Feb 2021 22:58:45 +0000 (16:58 -0600)]
Require status parameter for API.update_with_media

3 years agoSpecify file kwarg for API.update_with_media explicitly
Harmon [Fri, 19 Feb 2021 22:57:19 +0000 (16:57 -0600)]
Specify file kwarg for API.update_with_media explicitly

3 years agoRemove endpoint parameters for API.update_with_media
Harmon [Fri, 19 Feb 2021 22:56:12 +0000 (16:56 -0600)]
Remove endpoint parameters for API.update_with_media

Remove in_reply_to_status_id_str and auto_populate_reply_metadata endpoint parameters for API.update_with_media

3 years agoMerge branch 'master' into video-upload
Harmon [Fri, 19 Feb 2021 22:53:26 +0000 (16:53 -0600)]
Merge branch 'master' into video-upload

3 years agoReorder API.update_with_media parameters
Harmon [Fri, 19 Feb 2021 22:52:05 +0000 (16:52 -0600)]
Reorder API.update_with_media parameters

3 years agoStop allowing positional arguments for API.update_with_media
Harmon [Fri, 19 Feb 2021 22:49:46 +0000 (16:49 -0600)]
Stop allowing positional arguments for API.update_with_media

Stop allowing positional arguments besides filename and status for API.update_with_media

3 years agoChange file API.update_with_media parameter to be keyword-only
Harmon [Fri, 19 Feb 2021 22:48:26 +0000 (16:48 -0600)]
Change file API.update_with_media parameter to be keyword-only

3 years agoRequire status parameter for API.update_with_media
Harmon [Fri, 19 Feb 2021 22:47:06 +0000 (16:47 -0600)]
Require status parameter for API.update_with_media

3 years agoRemove endpoint parameters for API.update_with_media
Harmon [Fri, 19 Feb 2021 22:43:27 +0000 (16:43 -0600)]
Remove endpoint parameters for API.update_with_media

Remove in_reply_to_status_id_str and auto_populate_reply_metadata endpoint parameters for API.update_with_media

3 years agoSpecify file kwarg for API.update_profile_banner explicitly
Harmon [Fri, 19 Feb 2021 17:23:39 +0000 (11:23 -0600)]
Specify file kwarg for API.update_profile_banner explicitly

3 years agoMerge branch 'master' into video-upload
Harmon [Fri, 19 Feb 2021 17:19:26 +0000 (11:19 -0600)]
Merge branch 'master' into video-upload

3 years agoStop allowing positional arguments for API.update_profile_banner
Harmon [Fri, 19 Feb 2021 17:17:02 +0000 (11:17 -0600)]
Stop allowing positional arguments for API.update_profile_banner

Stop allowing positional arguments besides filename for API.update_profile_banner

3 years agoChange file API.update_profile_banner parameter to be keyword-only
Harmon [Fri, 19 Feb 2021 17:16:12 +0000 (11:16 -0600)]
Change file API.update_profile_banner parameter to be keyword-only

3 years agoChange file API.update_profile_image parameter to be keyword-only
Harmon [Fri, 19 Feb 2021 17:12:09 +0000 (11:12 -0600)]
Change file API.update_profile_image parameter to be keyword-only

3 years agoRename file_ API.update_profile_image parameter to file
Harmon [Fri, 19 Feb 2021 17:11:13 +0000 (11:11 -0600)]
Rename file_ API.update_profile_image parameter to file

3 years agoStop allowing positional arguments for API.update_profile_image
Harmon [Fri, 19 Feb 2021 17:08:02 +0000 (11:08 -0600)]
Stop allowing positional arguments for API.update_profile_image

Stop allowing positional arguments besides filename for API.update_profile_image

3 years agoChange file API.update_profile_image parameter to be keyword-only
Harmon [Fri, 19 Feb 2021 17:07:28 +0000 (11:07 -0600)]
Change file API.update_profile_image parameter to be keyword-only

3 years agoMerge branch 'master' into video-upload
Harmon [Fri, 19 Feb 2021 17:03:57 +0000 (11:03 -0600)]
Merge branch 'master' into video-upload

3 years agoStop allowing positional arguments for API.get_media_upload_status
Harmon [Fri, 19 Feb 2021 17:01:29 +0000 (11:01 -0600)]
Stop allowing positional arguments for API.get_media_upload_status

Stop allowing positional arguments besides media_id for API.get_media_upload_status

3 years agoStop allowing positional arguments besides filename for API.media_upload
Harmon [Fri, 19 Feb 2021 16:55:19 +0000 (10:55 -0600)]
Stop allowing positional arguments besides filename for API.media_upload

3 years agoChange API.media_upload parameters to be keyword-only
Harmon [Fri, 19 Feb 2021 16:54:28 +0000 (10:54 -0600)]
Change API.media_upload parameters to be keyword-only

Change file, chunked, media_category, and additional_owners API.media_upload parameters to be keyword-only

3 years agoAdd media_category and additional_owners parameters for API.media_upload
Harmon [Fri, 19 Feb 2021 16:51:58 +0000 (10:51 -0600)]
Add media_category and additional_owners parameters for API.media_upload

3 years agoStop allowing positional arguments for API.chunked_upload
Harmon [Fri, 19 Feb 2021 16:46:17 +0000 (10:46 -0600)]
Stop allowing positional arguments for API.chunked_upload

Stop allowing positional arguments besides filename for API.chunked_upload

3 years agoChange API.chunked_upload parameters to be keyword-only
Harmon [Fri, 19 Feb 2021 16:44:56 +0000 (10:44 -0600)]
Change API.chunked_upload parameters to be keyword-only

Change file, file_type, media_category, and additional_owners API.chunked_upload parameters to be keyword-only

3 years agoAdd additional_owners parameter for API.chunked_upload
Harmon [Fri, 19 Feb 2021 16:41:51 +0000 (10:41 -0600)]
Add additional_owners parameter for API.chunked_upload

3 years agoStop allowing positional arguments for API.chunked_upload_finalize
Harmon [Fri, 19 Feb 2021 16:37:44 +0000 (10:37 -0600)]
Stop allowing positional arguments for API.chunked_upload_finalize

Stop allowing positional arguments besides media_id for API.chunked_upload_finalize

3 years agoStop allowing positional arguments for API.chunked_upload_append
Harmon [Fri, 19 Feb 2021 16:35:41 +0000 (10:35 -0600)]
Stop allowing positional arguments for API.chunked_upload_append

Stop allowing positional arguments besides media_id, media, and segment_index for API.chunked_upload_append

3 years agoStop allowing positional arguments for API.chunked_upload_init
Harmon [Fri, 19 Feb 2021 16:31:40 +0000 (10:31 -0600)]
Stop allowing positional arguments for API.chunked_upload_init

Stop allowing positional arguments besides total_bytes and media_type for API.chunked_upload_init

3 years agoChange API.chunked_upload_init parameters to be keyword-only
Harmon [Fri, 19 Feb 2021 16:29:35 +0000 (10:29 -0600)]
Change API.chunked_upload_init parameters to be keyword-only

Change media_category and additional_owners API.chunked_upload_init parameters to be keyword-only

3 years agoOnly include media_category when specified in API.chunked_upload_init
Harmon [Fri, 19 Feb 2021 16:26:16 +0000 (10:26 -0600)]
Only include media_category when specified in API.chunked_upload_init

Also improve quotation mark type consistency

3 years agoStop allowing positional arguments for API.simple_upload
Harmon [Fri, 19 Feb 2021 16:20:38 +0000 (10:20 -0600)]
Stop allowing positional arguments for API.simple_upload

Stop allowing positional arguments besides filename for API.simple_upload

3 years agoChange API.simple_upload parameters to be keyword-only
Harmon [Fri, 19 Feb 2021 16:19:39 +0000 (10:19 -0600)]
Change API.simple_upload parameters to be keyword-only

Change file, media_category, and additional_owners API.simple_upload parameters to be keyword-only

3 years agoAdd additional_owners parameter for API.simple_upload
Harmon [Fri, 19 Feb 2021 16:12:59 +0000 (10:12 -0600)]
Add additional_owners parameter for API.simple_upload

3 years agoStop allowing positional arguments for API.configuration
Harmon [Fri, 19 Feb 2021 15:54:16 +0000 (09:54 -0600)]
Stop allowing positional arguments for API.configuration

3 years agoStop allowing positional arguments for API.supported_languages
Harmon [Fri, 19 Feb 2021 15:52:33 +0000 (09:52 -0600)]
Stop allowing positional arguments for API.supported_languages

3 years agoStop allowing positional arguments for API.geo_search
Harmon [Fri, 19 Feb 2021 15:51:02 +0000 (09:51 -0600)]
Stop allowing positional arguments for API.geo_search