tweepy.git
3 years agoDefault proxy to None for API initialization
Harmon [Tue, 6 Apr 2021 18:07:08 +0000 (13:07 -0500)]
Default proxy to None for API initialization

3 years agoStop allowing positional arguments for API initialization
Harmon [Tue, 6 Apr 2021 17:59:21 +0000 (12:59 -0500)]
Stop allowing positional arguments for API initialization

Stop allowing positional arguments besides auth_handler for API initialization

3 years agoImprove TypeError message for API initialization
Harmon [Tue, 6 Apr 2021 17:52:57 +0000 (12:52 -0500)]
Improve TypeError message for API initialization

3 years agoImprove API initialization
Harmon [Tue, 6 Apr 2021 17:39:12 +0000 (12:39 -0500)]
Improve API initialization

Set default parser in __init__ signature
Remove parser_type

3 years agoFix API documentation to refer to Parser instance for parser parameter
Harmon [Tue, 6 Apr 2021 17:35:11 +0000 (12:35 -0500)]
Fix API documentation to refer to Parser instance for parser parameter

3 years agoImprove documentation for API
Harmon [Tue, 6 Apr 2021 17:18:38 +0000 (12:18 -0500)]
Improve documentation for API

Automatically use docstring for documentation
Improve capitalization and article usage
Add documentation for upload_host parameter
Add reference URL
Remove periods

3 years agoFix API Reference header in documentation
Harmon [Tue, 6 Apr 2021 16:17:20 +0000 (11:17 -0500)]
Fix API Reference header in documentation

3 years agoProperly wrap methods with pagination and payload decorators
Harmon [Tue, 6 Apr 2021 16:02:00 +0000 (11:02 -0500)]
Properly wrap methods with pagination and payload decorators

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 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 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

3 years agoRemove endpoint parameters for API.geo_search
Harmon [Fri, 19 Feb 2021 15:48:31 +0000 (09:48 -0600)]
Remove endpoint parameters for API.geo_search

Remove accuracy and contained_within endpoint parameters for API.geo_search

3 years agoStop allowing positional arguments besides place_id for API.geo_id
Harmon [Fri, 19 Feb 2021 04:34:32 +0000 (22:34 -0600)]
Stop allowing positional arguments besides place_id for API.geo_id

3 years agoStop allowing positional arguments for API.reverse_geocode
Harmon [Fri, 19 Feb 2021 04:32:58 +0000 (22:32 -0600)]
Stop allowing positional arguments for API.reverse_geocode

Stop allowing positional arguments besides lat and long for API.reverse_geocode

3 years agoRequire lat and long parameters for API.reverse_geocode
Harmon [Fri, 19 Feb 2021 04:31:41 +0000 (22:31 -0600)]
Require lat and long parameters for API.reverse_geocode

3 years agoStop allowing positional arguments for API.search_full_archive
Harmon [Fri, 19 Feb 2021 04:30:06 +0000 (22:30 -0600)]
Stop allowing positional arguments for API.search_full_archive

Stop allowing positional arguments besides label and query for API.search_full_archive

3 years agoRequire query parameter for API.search_full_archive
Harmon [Fri, 19 Feb 2021 04:29:09 +0000 (22:29 -0600)]
Require query parameter for API.search_full_archive

3 years agoRename environment_name API.search_full_archive parameter to label
Harmon [Fri, 19 Feb 2021 04:28:27 +0000 (22:28 -0600)]
Rename environment_name API.search_full_archive parameter to label

3 years agoStop allowing positional arguments for API.search_30_day
Harmon [Fri, 19 Feb 2021 04:27:41 +0000 (22:27 -0600)]
Stop allowing positional arguments for API.search_30_day

Stop allowing positional arguments besides label and query for API.search_30_day

3 years agoRequire query parameter for API.search_30_day
Harmon [Fri, 19 Feb 2021 04:26:07 +0000 (22:26 -0600)]
Require query parameter for API.search_30_day

3 years agoRename environment_name API.search_30_day parameter to label
Harmon [Fri, 19 Feb 2021 04:25:15 +0000 (22:25 -0600)]
Rename environment_name API.search_30_day parameter to label