tweepy.git
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

3 years agoStop allowing positional arguments besides q for API.search
Harmon [Fri, 19 Feb 2021 04:20:25 +0000 (22:20 -0600)]
Stop allowing positional arguments besides q for API.search

Also improve endpoint parameters order to match Twitter API documentation

3 years agoRequire q parameter for API.search
Harmon [Fri, 19 Feb 2021 04:18:18 +0000 (22:18 -0600)]
Require q parameter for API.search

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

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

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

3 years agoStop allowing positional arguments besides id for API.trends_place
Harmon [Fri, 19 Feb 2021 04:13:26 +0000 (22:13 -0600)]
Stop allowing positional arguments besides id for API.trends_place

3 years agoRequire id parameter for API.trends_place
Harmon [Fri, 19 Feb 2021 04:12:35 +0000 (22:12 -0600)]
Require id parameter for API.trends_place

3 years agoStop allowing positional arguments for API.trends_available
Harmon [Mon, 15 Feb 2021 08:08:22 +0000 (02:08 -0600)]
Stop allowing positional arguments for API.trends_available

3 years agoUpdate test using API.show_list_subscriber to pass keyword arguments
Harmon [Mon, 15 Feb 2021 08:06:19 +0000 (02:06 -0600)]
Update test using API.show_list_subscriber to pass keyword arguments

3 years agoStop allowing positional arguments for API.show_list_subscriber
Harmon [Mon, 15 Feb 2021 08:05:21 +0000 (02:05 -0600)]
Stop allowing positional arguments for API.show_list_subscriber

Also improve endpoint parameters order to match Twitter API documentation

3 years agoAdd endpoint parameters for API.show_list_subscriber
Harmon [Mon, 15 Feb 2021 08:02:48 +0000 (02:02 -0600)]
Add endpoint parameters for API.show_list_subscriber

Add include_entities and skip_status endpoint parameters for API.show_list_subscriber

3 years agoUpdate test using API.list_subscribers to pass keyword arguments
Harmon [Mon, 15 Feb 2021 07:59:24 +0000 (01:59 -0600)]
Update test using API.list_subscribers to pass keyword arguments

3 years agoStop allowing positional arguments for API.list_subscribers
Harmon [Mon, 15 Feb 2021 07:58:41 +0000 (01:58 -0600)]
Stop allowing positional arguments for API.list_subscribers

Also improve endpoint parameters order to match Twitter API documentation

3 years agoStop allowing positional arguments for API.unsubscribe_list
Harmon [Mon, 15 Feb 2021 07:56:01 +0000 (01:56 -0600)]
Stop allowing positional arguments for API.unsubscribe_list

Also improve endpoint parameters order to match Twitter API documentation