Harmon [Mon, 1 Nov 2021 14:06:56 +0000 (09:06 -0500)]
Add streaming example
Harmon [Sun, 31 Oct 2021 19:14:42 +0000 (14:14 -0500)]
Fix version added directive usage in documentation for HTTPException
Harmon [Sun, 31 Oct 2021 19:12:21 +0000 (14:12 -0500)]
Change directive in TweepyException and TooManyRequests documentation
Use version added instead of version changed
Harmon [Sun, 31 Oct 2021 19:10:07 +0000 (14:10 -0500)]
Add version added directive to documentation for HTTPException
Harmon [Sun, 31 Oct 2021 19:06:49 +0000 (14:06 -0500)]
Remove signatures from documentation of exceptions
Harmon [Sun, 31 Oct 2021 18:55:26 +0000 (13:55 -0500)]
Document HTTPException attributes
Harmon [Sun, 31 Oct 2021 14:41:05 +0000 (09:41 -0500)]
Replace CONTRIBUTORS file with Contributors section in documentation
The CONTRIBUTORS file has been incomplete and outdated
Harmon [Sun, 31 Oct 2021 14:28:39 +0000 (09:28 -0500)]
Change Running Tests page in documentation to Development
Harmon [Sat, 30 Oct 2021 17:23:57 +0000 (12:23 -0500)]
Replace Code Snippets page in documentation with Examples
Harmon [Sat, 30 Oct 2021 17:20:38 +0000 (12:20 -0500)]
Add rate limit handling example
Harmon [Sat, 30 Oct 2021 16:33:34 +0000 (11:33 -0500)]
Add follow followers example
Harmon [Sat, 30 Oct 2021 16:27:33 +0000 (11:27 -0500)]
Add Tweet / update status example
Harmon [Sat, 30 Oct 2021 16:06:44 +0000 (11:06 -0500)]
Add PIN-based authorization example
Harmon [Sat, 30 Oct 2021 15:43:08 +0000 (10:43 -0500)]
Rename oauth.py example to authentication.py
Harmon [Sat, 30 Oct 2021 15:41:43 +0000 (10:41 -0500)]
Update and improve oauth.py example
Harmon [Sat, 30 Oct 2021 14:55:17 +0000 (09:55 -0500)]
Move ASCII_LOGO.txt to assets folder
Harmon [Sat, 30 Oct 2021 14:53:09 +0000 (09:53 -0500)]
Move test media from examples folder to new assets folder
Harmon [Sat, 30 Oct 2021 14:41:02 +0000 (09:41 -0500)]
Remove examples and tests package exclusion in setup.py
Harmon [Sat, 30 Oct 2021 14:23:38 +0000 (09:23 -0500)]
Remove __init__.py from tests
Harmon [Sat, 30 Oct 2021 14:22:28 +0000 (09:22 -0500)]
Remove __init__.py from examples
Harmon [Fri, 29 Oct 2021 16:43:44 +0000 (11:43 -0500)]
Release v4.2.0
Harmon [Fri, 29 Oct 2021 16:40:27 +0000 (11:40 -0500)]
Add changelog for version 4.2.0
Harmon [Fri, 29 Oct 2021 16:22:28 +0000 (11:22 -0500)]
Fix IdIterator to pass API instance to parsers and models
Harmon [Thu, 28 Oct 2021 15:42:01 +0000 (10:42 -0500)]
Update documentation for private parameter for Client.update_list
https://twittercommunity.com/t/incorrect-type-in-documentation-for-private-json-body-parameter-for-put-2-lists-id-endpoint/161146
Harmon [Thu, 28 Oct 2021 15:25:22 +0000 (10:25 -0500)]
Fix parse_datetime to parse API datetime string format with Python 3.6
The '%z' directive didn't accept 'Z' until Python 3.7
Harmon [Thu, 28 Oct 2021 15:17:50 +0000 (10:17 -0500)]
Add and use parse_datetime utility function for API v2 models
Harmon [Mon, 25 Oct 2021 18:26:39 +0000 (13:26 -0500)]
Improve README badge order
Harmon [Mon, 25 Oct 2021 09:25:33 +0000 (04:25 -0500)]
Add version added directive to documentation for AsyncStream
Harmon [Mon, 25 Oct 2021 09:23:06 +0000 (04:23 -0500)]
Add version added and changed directives to documentation for exceptions
Harmon [Mon, 25 Oct 2021 09:14:13 +0000 (04:14 -0500)]
Add version added directive to documentation for Paginator
Harmon [Mon, 25 Oct 2021 09:13:46 +0000 (04:13 -0500)]
Add version added directive to documentation for Response
Harmon [Mon, 25 Oct 2021 09:09:48 +0000 (04:09 -0500)]
Add version added directive to documentation for API v2 models
Harmon [Mon, 25 Oct 2021 09:06:39 +0000 (04:06 -0500)]
Add version added and changed directives to documentation for Client
Harmon [Mon, 25 Oct 2021 08:36:59 +0000 (03:36 -0500)]
Rename Client.follow and Client.unfollow
Rename Client.follow and Client.unfollow to Client.follow_user and Client.unfollow_user, respectively
Client.follow and Client.unfollow are kept as deprecated aliases
Harmon [Mon, 25 Oct 2021 07:57:07 +0000 (02:57 -0500)]
Improve Client.follow and Client.unfollow test to be more contained
Improve Client.follow and Client.unfollow test so as to be more contained and more easily reproducible
Harmon [Mon, 25 Oct 2021 07:32:52 +0000 (02:32 -0500)]
Add support for managing lists
Harmon [Mon, 25 Oct 2021 06:56:46 +0000 (01:56 -0500)]
Improve Client formatting consistency
Harmon [Mon, 25 Oct 2021 06:07:32 +0000 (01:07 -0500)]
Change state to optional parameter for Client.search_spaces
https://twitter.com/i_am_daniele/status/
1443210956541100033
Harmon [Sun, 24 Oct 2021 00:23:30 +0000 (19:23 -0500)]
Add FAQ section on API.me for v4
Harmon [Sat, 23 Oct 2021 16:59:23 +0000 (11:59 -0500)]
Link to v4.0.0 changelog in FAQ
Harmon [Sat, 23 Oct 2021 16:49:05 +0000 (11:49 -0500)]
Add FAQ section on StreamListener for v4
Harmon [Sat, 23 Oct 2021 16:43:30 +0000 (11:43 -0500)]
Add FAQ section on positional arguments for API methods in v4
Harmon [Sat, 23 Oct 2021 16:11:14 +0000 (11:11 -0500)]
Add FAQ section on Client.search_all_tweets per second rate limit
Harmon [Wed, 20 Oct 2021 17:08:36 +0000 (12:08 -0500)]
Add FAQ section on inconsistency for high traffic / volume accounts
Harmon [Mon, 18 Oct 2021 21:49:31 +0000 (16:49 -0500)]
Add FAQ to documentation
Harmon [Thu, 7 Oct 2021 08:30:39 +0000 (03:30 -0500)]
Release v4.1.0
Harmon [Thu, 7 Oct 2021 08:27:23 +0000 (03:27 -0500)]
Add changelog for version 4.1.0
Harmon [Thu, 7 Oct 2021 08:21:10 +0000 (03:21 -0500)]
Improve v4.0.1 changelog formatting consistency
Harmon [Thu, 7 Oct 2021 08:07:36 +0000 (03:07 -0500)]
Add Client.get_muted
Harmon [Thu, 7 Oct 2021 07:42:57 +0000 (02:42 -0500)]
Add support for batch compliance
Add Client.get_compliance_jobs, Client.get_compliance_job, and Client.create_compliance_job
Harmon [Tue, 5 Oct 2021 18:31:26 +0000 (13:31 -0500)]
Add support for Spaces
Add Space model
Add Client.search_spaces, Client.get_spaces, and Client.get_space
Harmon [Tue, 5 Oct 2021 18:18:41 +0000 (13:18 -0500)]
Add support for Python 3.10
This also updates the minimum dev requirement version for tox from 2.4.0 to 3.14.0 to support specifying Python 3.10 for tox
Harmon [Mon, 4 Oct 2021 16:02:51 +0000 (11:02 -0500)]
Merge pull request #1683 from Syndorik/spelling-mistake
Corrected spelling mistake on API.search_tweets method
Alexandre Allani [Mon, 4 Oct 2021 15:34:56 +0000 (17:34 +0200)]
corrected spelling mistake on API.search_tweets method
Harmon [Sun, 3 Oct 2021 14:06:48 +0000 (09:06 -0500)]
Merge pull request #1682 from gilsedition/patch-1
Documentation: Added screen_name parameter to get_user method
Gilead Baggio [Sun, 3 Oct 2021 09:46:58 +0000 (15:16 +0530)]
Documentation: Added screen_name parameter to get_user method
In Getting started section of the documentation, under Models sub-heading, its mentioned as:
user = api.get_user('twitter')
but it returns the error found below:
TypeError: get_user() takes 1 positional argument but 2 were given.
So it would be easier for dummies like me, if its mentioned as
user = api.get_user(screen_name='twitter')
instead.
Harmon [Fri, 1 Oct 2021 18:16:21 +0000 (13:16 -0500)]
Release v4.0.1
Harmon [Fri, 1 Oct 2021 18:12:19 +0000 (13:12 -0500)]
Add changelog for version 4.0.1
Harmon [Wed, 29 Sep 2021 15:02:07 +0000 (10:02 -0500)]
Handle simplejson being installed when handling JSONDecodeError
Harmon [Wed, 29 Sep 2021 05:26:43 +0000 (00:26 -0500)]
Improve Client.request formatting
Harmon [Wed, 29 Sep 2021 05:22:45 +0000 (00:22 -0500)]
Stop checking Client request parameter name when converting to datetime
Harmon [Wed, 29 Sep 2021 05:19:17 +0000 (00:19 -0500)]
Include unexpected parameters in Client request
Harmon [Wed, 29 Sep 2021 05:14:01 +0000 (00:14 -0500)]
Fix handling of strings as fields parameters for Client methods
Harmon [Tue, 28 Sep 2021 05:53:44 +0000 (00:53 -0500)]
Update changelog for v4.0.0 to reference #538
Harmon [Tue, 28 Sep 2021 05:14:18 +0000 (00:14 -0500)]
Remove nose usage
Harmon [Tue, 28 Sep 2021 05:11:09 +0000 (00:11 -0500)]
Remove random import for API tests
Harmon [Tue, 28 Sep 2021 04:36:58 +0000 (23:36 -0500)]
Update oauth example to use API.verify_credentials
Harmon [Tue, 28 Sep 2021 04:25:56 +0000 (23:25 -0500)]
Remove mock_tweet
Harmon [Tue, 28 Sep 2021 04:21:04 +0000 (23:21 -0500)]
Remove mock from tests_require and test extra
Harmon [Mon, 27 Sep 2021 20:23:54 +0000 (15:23 -0500)]
Remove unnecessary params from create, update, and destroy list test
Harmon [Mon, 27 Sep 2021 19:00:50 +0000 (14:00 -0500)]
Add test for Client.get_all_tweets_count
Harmon [Mon, 27 Sep 2021 19:00:22 +0000 (14:00 -0500)]
Add test for Client.search_all_tweets
Harmon [Sun, 26 Sep 2021 07:39:15 +0000 (02:39 -0500)]
Use sphinx-tabs for Models Reference and Pagination documentation
Harmon [Sun, 26 Sep 2021 06:59:10 +0000 (01:59 -0500)]
Update sphinx from 3.5.4 to 4.2.0 in documentation requirements
Harmon [Sun, 26 Sep 2021 06:57:28 +0000 (01:57 -0500)]
Update myst-parser from 0.14.0 to 0.15.2 in documentation requirements
Harmon [Sun, 26 Sep 2021 06:55:09 +0000 (01:55 -0500)]
Update sphinx_rtd_theme 0.5.2 to 1.0.0 in documentation requirements
Harmon [Sat, 25 Sep 2021 18:17:13 +0000 (13:17 -0500)]
Release v4.0.0
Harmon [Sat, 25 Sep 2021 18:02:11 +0000 (13:02 -0500)]
Add changelog for version 4.0.0
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
Brian Ball [Sat, 25 Sep 2021 02:46:25 +0000 (19:46 -0700)]
Update cursor.py to fix typo
Cusor to Cursor
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
Harmon [Mon, 20 Sep 2021 23:13:14 +0000 (18:13 -0500)]
Add alt_text field for Media
Harmon [Mon, 20 Sep 2021 23:01:46 +0000 (18:01 -0500)]
Improve Tweet counts documentation section title case consistency
Harmon [Mon, 20 Sep 2021 22:45:53 +0000 (17:45 -0500)]
Add Client.unretweet, Client.get_retweeters, and Client.retweet
Harmon [Mon, 20 Sep 2021 21:49:36 +0000 (16:49 -0500)]
Add Client.unmute and Client.mute
Harmon [Mon, 20 Sep 2021 19:59:38 +0000 (14:59 -0500)]
Improve Client.follow documentation consistency
Harmon [Mon, 20 Sep 2021 19:24:29 +0000 (14:24 -0500)]
Add Client.get_all_tweets_count and Client.get_recent_tweets_count
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
Harmon [Mon, 20 Sep 2021 09:24:17 +0000 (04:24 -0500)]
Use hoverxref for Python Domain and intersphinx content in documentation
Harmon [Mon, 20 Sep 2021 09:04:03 +0000 (04:04 -0500)]
Use sphinx-hoverxref for documentation
Harmon [Mon, 20 Sep 2021 08:52:04 +0000 (03:52 -0500)]
Fix AsyncStream.filter formatting
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
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
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
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
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
Harmon [Thu, 17 Jun 2021 00:29:55 +0000 (19:29 -0500)]
Add missing pass for TwitterServerError
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
Francesco Di Lorenzo [Wed, 16 Jun 2021 07:49:02 +0000 (09:49 +0200)]
Fix typo in docstring for get_tweets
Harmon [Wed, 9 Jun 2021 17:51:52 +0000 (12:51 -0500)]
Handle "error" key in response JSON when initializing HTTPException