tweepy.git
3 years agoRelease v4.0.0
Harmon [Sat, 25 Sep 2021 18:17:13 +0000 (13:17 -0500)]
Release v4.0.0

3 years agoAdd changelog for version 4.0.0
Harmon [Sat, 25 Sep 2021 18:02:11 +0000 (13:02 -0500)]
Add changelog for version 4.0.0

3 years agoMerge pull request #1662 from ideabrian/patch-1
Harmon [Sat, 25 Sep 2021 03:39:42 +0000 (22:39 -0500)]
Merge pull request #1662 from ideabrian/patch-1

Update cursor.py to fix typo

3 years agoUpdate cursor.py to fix typo
Brian Ball [Sat, 25 Sep 2021 02:46:25 +0000 (19:46 -0700)]
Update cursor.py to fix typo

Cusor to Cursor

3 years agoPop chunk_size kwarg before initializing upload in API.chunked_upload
Harmon [Thu, 23 Sep 2021 10:55:18 +0000 (05:55 -0500)]
Pop chunk_size kwarg before initializing upload in API.chunked_upload

Resolves part of #1658

3 years agoAdd alt_text field for Media
Harmon [Mon, 20 Sep 2021 23:13:14 +0000 (18:13 -0500)]
Add alt_text field for Media

3 years agoImprove Tweet counts documentation section title case consistency
Harmon [Mon, 20 Sep 2021 23:01:46 +0000 (18:01 -0500)]
Improve Tweet counts documentation section title case consistency

3 years agoAdd Client.unretweet, Client.get_retweeters, and Client.retweet
Harmon [Mon, 20 Sep 2021 22:45:53 +0000 (17:45 -0500)]
Add Client.unretweet, Client.get_retweeters, and Client.retweet

3 years agoAdd Client.unmute and Client.mute
Harmon [Mon, 20 Sep 2021 21:49:36 +0000 (16:49 -0500)]
Add Client.unmute and Client.mute

3 years agoImprove Client.follow documentation consistency
Harmon [Mon, 20 Sep 2021 19:59:38 +0000 (14:59 -0500)]
Improve Client.follow documentation consistency

3 years agoAdd Client.get_all_tweets_count and Client.get_recent_tweets_count
Harmon [Mon, 20 Sep 2021 19:24:29 +0000 (14:24 -0500)]
Add Client.get_all_tweets_count and Client.get_recent_tweets_count

3 years agoAdd Client methods for Likes and blocks lookup
Harmon [Mon, 20 Sep 2021 18:32:54 +0000 (13:32 -0500)]
Add Client methods for Likes and blocks lookup

Add Client.get_liking_users, Client.get_liked_tweets, and Client.get_blocked

3 years agoUse hoverxref for Python Domain and intersphinx content in documentation
Harmon [Mon, 20 Sep 2021 09:24:17 +0000 (04:24 -0500)]
Use hoverxref for Python Domain and intersphinx content in documentation

3 years agoUse sphinx-hoverxref for documentation
Harmon [Mon, 20 Sep 2021 09:04:03 +0000 (04:04 -0500)]
Use sphinx-hoverxref for documentation

3 years agoFix AsyncStream.filter formatting
Harmon [Mon, 20 Sep 2021 08:52:04 +0000 (03:52 -0500)]
Fix AsyncStream.filter formatting

3 years agoContinue GitHub Actions Test workflow on error sending coverage
Harmon [Mon, 20 Sep 2021 08:36:49 +0000 (03:36 -0500)]
Continue GitHub Actions Test workflow on error sending coverage

This allows tests to pass even when sending coverage to Coveralls fails, e.g. due to https://status.coveralls.io/incidents/ppvnbpd172gy

3 years agoAdd return_type parameter and attribute for Client
Harmon [Mon, 20 Sep 2021 08:04:23 +0000 (03:04 -0500)]
Add return_type parameter and attribute for Client

Client.hide_reply, Client.unhide_reply, Client.unlike, Client.like, Client.unblock, and Client.block now return the type specified by Client.return_type rather than only Booleans.

Other Client methods now return the type specified by Client.return_type rather than only Response.

By default, if return_type is not passed when initializing Client, Client.return_type will be Response.

Response is now publicly exposed and documented.

Resolves #1580

3 years agoHandle aware datetime objects for start_time and end_time parameters
Harmon [Thu, 26 Aug 2021 09:32:37 +0000 (04:32 -0500)]
Handle aware datetime objects for start_time and end_time parameters

Adjust date and time to UTC rather than ignoring tzinfo

3 years agoPreserve tzinfo when parsing datetime for API v2 models
Harmon [Thu, 26 Aug 2021 08:49:30 +0000 (03:49 -0500)]
Preserve tzinfo when parsing datetime for API v2 models

Poll.end_datetime, Tweet.created_at, and User.created_at are now aware, rather than naive, datetime objects.
Resolves #1634

3 years agoRemove API.configuration
Harmon [Thu, 17 Jun 2021 22:29:36 +0000 (17:29 -0500)]
Remove API.configuration

https://twittercommunity.com/t/retiring-the-1-1-configuration-endpoint/153319
https://twittercommunity.com/t/is-the-1-1-configuration-endpoint-retired/155211
Resolves #1614

3 years agoAdd missing pass for TwitterServerError
Harmon [Thu, 17 Jun 2021 00:29:55 +0000 (19:29 -0500)]
Add missing pass for TwitterServerError

3 years agoMerge pull request #1611 from frankdilo/patch-2
Harmon [Thu, 17 Jun 2021 00:19:10 +0000 (19:19 -0500)]
Merge pull request #1611 from frankdilo/patch-2

Fix typo in docstring for get_tweets

3 years agoFix typo in docstring for get_tweets
Francesco Di Lorenzo [Wed, 16 Jun 2021 07:49:02 +0000 (09:49 +0200)]
Fix typo in docstring for get_tweets

3 years agoHandle "error" key in response JSON when initializing HTTPException
Harmon [Wed, 9 Jun 2021 17:51:52 +0000 (12:51 -0500)]
Handle "error" key in response JSON when initializing HTTPException

3 years agoRename API.retweets_of_me to API.get_retweets_of_me
Harmon [Wed, 9 Jun 2021 05:48:03 +0000 (00:48 -0500)]
Rename API.retweets_of_me to API.get_retweets_of_me

3 years agoRename API.retweets to API.get_retweets
Harmon [Wed, 9 Jun 2021 05:43:19 +0000 (00:43 -0500)]
Rename API.retweets to API.get_retweets

3 years agoRename API.retweeters to API.get_retweeter_ids
Harmon [Wed, 9 Jun 2021 05:39:09 +0000 (00:39 -0500)]
Rename API.retweeters to API.get_retweeter_ids

3 years agoRestore create, update, and destroy list test
Harmon [Mon, 7 Jun 2021 18:12:27 +0000 (13:12 -0500)]
Restore create, update, and destroy list test

3 years agoRename API.trends_place to API.get_place_trends
Harmon [Fri, 4 Jun 2021 12:11:15 +0000 (07:11 -0500)]
Rename API.trends_place to API.get_place_trends

3 years agoRename API.trends_closest to API.closest_trends
Harmon [Fri, 4 Jun 2021 12:08:08 +0000 (07:08 -0500)]
Rename API.trends_closest to API.closest_trends

3 years agoRename API.trends_available to API.available_trends
Harmon [Fri, 4 Jun 2021 12:05:41 +0000 (07:05 -0500)]
Rename API.trends_available to API.available_trends

3 years agoRename API.mutes_ids to API.get_muted_ids
Harmon [Thu, 3 Jun 2021 12:33:33 +0000 (07:33 -0500)]
Rename API.mutes_ids to API.get_muted_ids

3 years agoRename API.mutes to API.get_mutes
Harmon [Thu, 3 Jun 2021 12:32:00 +0000 (07:32 -0500)]
Rename API.mutes to API.get_mutes

3 years agoRename API.blocks_ids to API.get_blocked_ids
Harmon [Thu, 3 Jun 2021 12:29:37 +0000 (07:29 -0500)]
Rename API.blocks_ids to API.get_blocked_ids

3 years agoRename API.blocks to API.get_blocks
Harmon [Thu, 3 Jun 2021 12:25:19 +0000 (07:25 -0500)]
Rename API.blocks to API.get_blocks

3 years agoRename API.friends_ids to API.get_friend_ids
Harmon [Thu, 3 Jun 2021 12:18:43 +0000 (07:18 -0500)]
Rename API.friends_ids to API.get_friend_ids

3 years agoRename API.friends to API.get_friends
Harmon [Thu, 3 Jun 2021 12:13:27 +0000 (07:13 -0500)]
Rename API.friends to API.get_friends

3 years agoRename API.followers_ids to API.get_follower_ids
Harmon [Thu, 3 Jun 2021 12:06:01 +0000 (07:06 -0500)]
Rename API.followers_ids to API.get_follower_ids

Rename models.User.followers_ids to models.User.follower_ids

3 years agoRename API.followers to API.get_followers
Harmon [Thu, 3 Jun 2021 12:00:17 +0000 (07:00 -0500)]
Rename API.followers to API.get_followers

3 years agoImprove signature formatting in documentation for API.get_favorites
Harmon [Thu, 3 Jun 2021 11:56:49 +0000 (06:56 -0500)]
Improve signature formatting in documentation for API.get_favorites

3 years agoRename API.favorites to API.get_favorites
Harmon [Thu, 3 Jun 2021 11:50:07 +0000 (06:50 -0500)]
Rename API.favorites to API.get_favorites

3 years agoRename API.friendships_outgoing to API.outgoing_friendships
Harmon [Wed, 2 Jun 2021 23:55:53 +0000 (18:55 -0500)]
Rename API.friendships_outgoing to API.outgoing_friendships

3 years agoRename API.friendships_incoming to API.incoming_friendships
Harmon [Wed, 2 Jun 2021 23:53:48 +0000 (18:53 -0500)]
Rename API.friendships_incoming to API.incoming_friendships

3 years agoImprove List return type documentation formatting for API
Harmon [Tue, 1 Jun 2021 23:06:28 +0000 (18:06 -0500)]
Improve List return type documentation formatting for API

3 years agoMerge pull request #1597 from hkennyv/docs/update-rate-limit-status
Harmon [Sun, 30 May 2021 21:44:02 +0000 (16:44 -0500)]
Merge pull request #1597 from hkennyv/docs/update-rate-limit-status

Update documentation for API.rate_limit_status to be consistent with other docstrings

3 years agoUpdate documentation for API.rate_limit_status to be consistent with
khuynh [Sun, 30 May 2021 19:15:25 +0000 (12:15 -0700)]
Update documentation for API.rate_limit_status to be consistent with
other docstrings

3 years agoRename API.search to API.search_tweets
Harmon [Fri, 28 May 2021 13:49:07 +0000 (08:49 -0500)]
Rename API.search to API.search_tweets

3 years agoRename API.update_with_media to API.update_status_with_media
Harmon [Fri, 28 May 2021 13:30:04 +0000 (08:30 -0500)]
Rename API.update_with_media to API.update_status_with_media

3 years agoRename API.destroy_direct_message to API.delete_direct_message
Harmon [Fri, 28 May 2021 13:14:17 +0000 (08:14 -0500)]
Rename API.destroy_direct_message to API.delete_direct_message

Rename DirectMessage.destroy to DirectMessage.delete

3 years agoRename API.list_direct_messages to API.get_direct_messages
Harmon [Fri, 28 May 2021 13:01:11 +0000 (08:01 -0500)]
Rename API.list_direct_messages to API.get_direct_messages

3 years agoRemove List.is_member and List.is_subscribed
Harmon [Fri, 28 May 2021 12:56:10 +0000 (07:56 -0500)]
Remove List.is_member and List.is_subscribed

3 years agoRename API.lists_subscriptions to API.get_list_subscriptions
Harmon [Fri, 28 May 2021 12:48:00 +0000 (07:48 -0500)]
Rename API.lists_subscriptions to API.get_list_subscriptions

Rename models.User.lists_subscriptions to models.User.list_subscriptions

3 years agoRename API.list_subscribers to API.get_list_subscribers
Harmon [Fri, 28 May 2021 12:42:03 +0000 (07:42 -0500)]
Rename API.list_subscribers to API.get_list_subscribers

3 years agoRename API.lists_ownerships to API.get_list_ownerships
Harmon [Fri, 28 May 2021 12:32:55 +0000 (07:32 -0500)]
Rename API.lists_ownerships to API.get_list_ownerships

Rename models.User.lists_ownerships to models.User.list_ownerships

3 years agoRename API.lists_memberships to API.get_list_memberships
Harmon [Fri, 28 May 2021 12:26:34 +0000 (07:26 -0500)]
Rename API.lists_memberships to API.get_list_memberships

Rename models.User.lists_memberships to models.User.list_memberships

3 years agoRename API.list_members to API.get_list_members
Harmon [Fri, 28 May 2021 12:00:45 +0000 (07:00 -0500)]
Rename API.list_members to API.get_list_members

3 years agoRename API.lists_all to API.get_lists
Harmon [Fri, 28 May 2021 11:47:34 +0000 (06:47 -0500)]
Rename API.lists_all to API.get_lists

3 years agoRename API.geo_search to API.search_geo
Harmon [Fri, 28 May 2021 11:39:48 +0000 (06:39 -0500)]
Rename API.geo_search to API.search_geo

3 years agoRename API.saved_searches to API.get_saved_searches
Harmon [Fri, 28 May 2021 11:33:09 +0000 (06:33 -0500)]
Rename API.saved_searches to API.get_saved_searches

3 years agoRename API.show_friendship to API.get_friendship
Harmon [Fri, 28 May 2021 11:24:02 +0000 (06:24 -0500)]
Rename API.show_friendship to API.get_friendship

3 years agoRename API.show_list_subscriber to API.get_list_subscriber
Harmon [Fri, 28 May 2021 11:19:59 +0000 (06:19 -0500)]
Rename API.show_list_subscriber to API.get_list_subscriber

3 years agoUpdate API.get_list_member test and cassette names
Harmon [Fri, 28 May 2021 11:17:37 +0000 (06:17 -0500)]
Update API.get_list_member test and cassette names

3 years agoRename API.show_list_member to API.get_list_member
Harmon [Fri, 28 May 2021 11:10:58 +0000 (06:10 -0500)]
Rename API.show_list_member to API.get_list_member

3 years agoRename API.statuses_lookup to API.lookup_statuses
Harmon [Fri, 28 May 2021 11:02:25 +0000 (06:02 -0500)]
Rename API.statuses_lookup to API.lookup_statuses

Resolves #477

3 years agoAdd table for API documentation
Harmon [Fri, 28 May 2021 10:56:10 +0000 (05:56 -0500)]
Add table for API documentation

3 years agoUpdate and improve documentation for API.rate_limit_status
Harmon [Thu, 27 May 2021 16:11:49 +0000 (11:11 -0500)]
Update and improve documentation for API.rate_limit_status

3 years agoUpdate and improve documentation for API.supported_languages
Harmon [Thu, 27 May 2021 16:08:47 +0000 (11:08 -0500)]
Update and improve documentation for API.supported_languages

3 years agoUpdate and improve documentation for API.configuration
Harmon [Thu, 27 May 2021 16:06:23 +0000 (11:06 -0500)]
Update and improve documentation for API.configuration

3 years agoUpdate and improve documentation for API.geo_search
Harmon [Thu, 27 May 2021 16:04:19 +0000 (11:04 -0500)]
Update and improve documentation for API.geo_search

3 years agoUpdate and improve documentation for API.reverse_geocode
Harmon [Thu, 27 May 2021 16:01:32 +0000 (11:01 -0500)]
Update and improve documentation for API.reverse_geocode

3 years agoUpdate and improve documentation for API.geo_id
Harmon [Thu, 27 May 2021 15:59:20 +0000 (10:59 -0500)]
Update and improve documentation for API.geo_id

3 years agoUpdate and improve documentation for API.trends_place
Harmon [Thu, 27 May 2021 15:57:36 +0000 (10:57 -0500)]
Update and improve documentation for API.trends_place

3 years agoUpdate and improve documentation for API.trends_closest
Harmon [Thu, 27 May 2021 15:56:02 +0000 (10:56 -0500)]
Update and improve documentation for API.trends_closest

3 years agoUpdate and improve documentation for API.trends_available
Harmon [Thu, 27 May 2021 15:54:20 +0000 (10:54 -0500)]
Update and improve documentation for API.trends_available

3 years agoUpdate and improve documentation for API.chunked_upload_init
Harmon [Thu, 27 May 2021 15:51:56 +0000 (10:51 -0500)]
Update and improve documentation for API.chunked_upload_init

3 years agoUpdate and improve documentation for API.chunked_upload_finalize
Harmon [Thu, 27 May 2021 15:49:40 +0000 (10:49 -0500)]
Update and improve documentation for API.chunked_upload_finalize

3 years agoUpdate and improve documentation for API.chunked_upload_append
Harmon [Thu, 27 May 2021 15:47:41 +0000 (10:47 -0500)]
Update and improve documentation for API.chunked_upload_append

3 years agoUpdate and improve documentation for API.chunked_upload
Harmon [Thu, 27 May 2021 15:46:08 +0000 (10:46 -0500)]
Update and improve documentation for API.chunked_upload

3 years agoUpdate and improve documentation for API.simple_upload
Harmon [Thu, 27 May 2021 15:43:49 +0000 (10:43 -0500)]
Update and improve documentation for API.simple_upload

3 years agoUpdate and improve documentation for API.media_upload
Harmon [Thu, 27 May 2021 15:42:27 +0000 (10:42 -0500)]
Update and improve documentation for API.media_upload

3 years agoUpdate and improve documentation for API.create_media_metadata
Harmon [Thu, 27 May 2021 15:40:21 +0000 (10:40 -0500)]
Update and improve documentation for API.create_media_metadata

3 years agoUpdate and improve documentation for API.get_media_upload_status
Harmon [Thu, 27 May 2021 15:38:42 +0000 (10:38 -0500)]
Update and improve documentation for API.get_media_upload_status

3 years agoImprove API.send_direct_message formatting
Harmon [Thu, 27 May 2021 12:03:14 +0000 (07:03 -0500)]
Improve API.send_direct_message formatting

3 years agoUpdate and improve documentation for API.send_direct_message
Harmon [Thu, 27 May 2021 11:59:54 +0000 (06:59 -0500)]
Update and improve documentation for API.send_direct_message

3 years agoUpdate and improve documentation for API.get_direct_message
Harmon [Thu, 27 May 2021 11:58:12 +0000 (06:58 -0500)]
Update and improve documentation for API.get_direct_message

3 years agoUpdate and improve documentation for API.list_direct_messages
Harmon [Thu, 27 May 2021 11:56:35 +0000 (06:56 -0500)]
Update and improve documentation for API.list_direct_messages

3 years agoUpdate and improve documentation for API.destroy_direct_message
Harmon [Thu, 27 May 2021 11:52:59 +0000 (06:52 -0500)]
Update and improve documentation for API.destroy_direct_message

3 years agoAdd Parameters section header to documentation for API.report_spam
Harmon [Thu, 27 May 2021 11:46:52 +0000 (06:46 -0500)]
Add Parameters section header to documentation for API.report_spam

3 years agoUpdate and improve documentation for API.report_spam
Harmon [Thu, 27 May 2021 11:45:11 +0000 (06:45 -0500)]
Update and improve documentation for API.report_spam

3 years agoAdd Parameters section header to documentation for API.destroy_mute
Harmon [Thu, 27 May 2021 11:44:00 +0000 (06:44 -0500)]
Add Parameters section header to documentation for API.destroy_mute

3 years agoUpdate and improve documentation for API.destroy_mute
Harmon [Thu, 27 May 2021 11:42:13 +0000 (06:42 -0500)]
Update and improve documentation for API.destroy_mute

3 years agoUpdate and improve documentation for API.create_mute
Harmon [Thu, 27 May 2021 11:40:46 +0000 (06:40 -0500)]
Update and improve documentation for API.create_mute

3 years agoUpdate and improve documentation for API.destroy_block
Harmon [Thu, 27 May 2021 11:39:36 +0000 (06:39 -0500)]
Update and improve documentation for API.destroy_block

3 years agoUpdate and improve documentation for API.create_block
Harmon [Thu, 27 May 2021 11:37:58 +0000 (06:37 -0500)]
Update and improve documentation for API.create_block

3 years agoUpdate and improve documentation for API.mutes
Harmon [Thu, 27 May 2021 11:36:51 +0000 (06:36 -0500)]
Update and improve documentation for API.mutes

3 years agoUpdate and improve documentation for API.mutes_ids
Harmon [Thu, 27 May 2021 11:35:04 +0000 (06:35 -0500)]
Update and improve documentation for API.mutes_ids

3 years agoUpdate and improve documentation for API.blocks
Harmon [Thu, 27 May 2021 11:33:47 +0000 (06:33 -0500)]
Update and improve documentation for API.blocks

3 years agoUpdate and improve documentation for API.blocks_ids
Harmon [Thu, 27 May 2021 11:28:23 +0000 (06:28 -0500)]
Update and improve documentation for API.blocks_ids

3 years agoFix typo in User.__str__
Harmon [Thu, 27 May 2021 09:52:18 +0000 (04:52 -0500)]
Fix typo in User.__str__

Fixes #1592

3 years agoUpdate and improve documentation for API.destroy_saved_search
Harmon [Tue, 25 May 2021 11:12:30 +0000 (06:12 -0500)]
Update and improve documentation for API.destroy_saved_search