tweepy.git
3 years agoRemove Stream tests
Harmon [Wed, 19 May 2021 15:34:58 +0000 (10:34 -0500)]
Remove Stream tests

3 years agoUpdate API.user_timeline argument name in next(cursor) test
Harmon [Wed, 19 May 2021 12:55:57 +0000 (07:55 -0500)]
Update API.user_timeline argument name in next(cursor) test

3 years agoUpdate consumer key and secret usage in auth tests
Harmon [Wed, 19 May 2021 12:43:35 +0000 (07:43 -0500)]
Update consumer key and secret usage in auth tests

3 years agoUse ensure_future instead of create_task in AsyncStream
Harmon [Wed, 19 May 2021 12:05:08 +0000 (07:05 -0500)]
Use ensure_future instead of create_task in AsyncStream

Maintain support for Python 3.6

3 years agoSwitch from recommonmark to MyST-Parser for documentation
Harmon [Tue, 18 May 2021 20:13:15 +0000 (15:13 -0500)]
Switch from recommonmark to MyST-Parser for documentation

3 years agoRemove sphinxcontrib-trio for documentation
Harmon [Tue, 18 May 2021 08:34:42 +0000 (03:34 -0500)]
Remove sphinxcontrib-trio for documentation

3 years agoPin Read the Docs Sphinx theme version for documentation
Harmon [Tue, 18 May 2021 08:33:19 +0000 (03:33 -0500)]
Pin Read the Docs Sphinx theme version for documentation

3 years agoPin Sphinx version for documentation
Harmon [Tue, 18 May 2021 08:27:33 +0000 (03:27 -0500)]
Pin Sphinx version for documentation

3 years agoUse sphinxcontrib-trio for documentation
Harmon [Sun, 16 May 2021 21:10:16 +0000 (16:10 -0500)]
Use sphinxcontrib-trio for documentation

3 years agoInstall async extra for Read the Docs
Harmon [Sun, 16 May 2021 20:57:09 +0000 (15:57 -0500)]
Install async extra for Read the Docs

3 years agoMerge pull request #1491 from tweepy/async-streaming
Harmon [Sun, 16 May 2021 20:46:22 +0000 (15:46 -0500)]
Merge pull request #1491 from tweepy/async-streaming

Support asynchronous streaming

3 years agoCheck oauthlib installation when importing asynchronous subpackage
Harmon [Sun, 16 May 2021 11:06:15 +0000 (06:06 -0500)]
Check oauthlib installation when importing asynchronous subpackage

3 years agoRemove unused os import in api.py
Harmon [Thu, 13 May 2021 13:47:38 +0000 (08:47 -0500)]
Remove unused os import in api.py

3 years agoAdd API.user_agent
Harmon [Thu, 13 May 2021 13:44:50 +0000 (08:44 -0500)]
Add API.user_agent

3 years agoMerge pull request #1584 from crunis/async-streaming
Harmon [Thu, 13 May 2021 09:22:21 +0000 (04:22 -0500)]
Merge pull request #1584 from crunis/async-streaming

Remove async from filter and sample functions

3 years agoUpdate documentation
Christian Teijon [Thu, 13 May 2021 08:28:07 +0000 (10:28 +0200)]
Update documentation

filter and sample are no longer coroutines

3 years agoBump version to 4.0.0-alpha for development purposes
Harmon [Thu, 13 May 2021 00:51:58 +0000 (19:51 -0500)]
Bump version to 4.0.0-alpha for development purposes

3 years agoRemove async from filter and sample functions
Christian Teijon [Wed, 12 May 2021 19:14:00 +0000 (21:14 +0200)]
Remove async from filter and sample functions

Since these functions just return a task, they
don't need to be async.
If the async is left, it forces us to use
an unnecessary and confussing extra await when
calling them, and then another one on the task
they return.

3 years agoChange Client initialization parameter to be keyword-only
Harmon [Fri, 7 May 2021 21:54:35 +0000 (16:54 -0500)]
Change Client initialization parameter to be keyword-only

Change wait_on_rate_limit Client initialization parameter to be keyword-only

3 years agoFix reference to pinned_tweet_id in User
Harmon [Sat, 1 May 2021 16:16:29 +0000 (11:16 -0500)]
Fix reference to pinned_tweet_id in User

3 years agoAdd installation documentation for async extra
Harmon [Thu, 29 Apr 2021 10:54:47 +0000 (05:54 -0500)]
Add installation documentation for async extra

3 years agoImprove documentation for Stream.sample
Harmon [Thu, 29 Apr 2021 10:45:40 +0000 (05:45 -0500)]
Improve documentation for Stream.sample

Define links in Stream.sample as well as Stream.filter

3 years agoChange AsyncStream.sample parameters to be keyword-only
Harmon [Thu, 29 Apr 2021 10:42:13 +0000 (05:42 -0500)]
Change AsyncStream.sample parameters to be keyword-only

3 years agoChange AsyncStream.filter parameters to be keyword-only
Harmon [Thu, 29 Apr 2021 10:41:42 +0000 (05:41 -0500)]
Change AsyncStream.filter parameters to be keyword-only

3 years agoChange AsyncStream initialization parameters to be keyword-only
Harmon [Thu, 29 Apr 2021 10:40:05 +0000 (05:40 -0500)]
Change AsyncStream initialization parameters to be keyword-only

Change max_retries and proxy AsyncStream initialization parameters to be keyword-only

3 years agoAdd languages parameter for AsyncStream.sample
Harmon [Thu, 29 Apr 2021 10:38:43 +0000 (05:38 -0500)]
Add languages parameter for AsyncStream.sample

3 years agoAdd filter_level and languages parameters for AsyncStream.filter
Harmon [Thu, 29 Apr 2021 10:36:19 +0000 (05:36 -0500)]
Add filter_level and languages parameters for AsyncStream.filter

3 years agoAdd Parameters and Raises to documentation for AsyncStream
Harmon [Thu, 29 Apr 2021 10:32:01 +0000 (05:32 -0500)]
Add Parameters and Raises to documentation for AsyncStream

3 years agoImprove terminology in AsyncStream.on_keep_alive
Harmon [Thu, 29 Apr 2021 10:24:25 +0000 (05:24 -0500)]
Improve terminology in AsyncStream.on_keep_alive

3 years agoMerge branch 'master' into async-streaming
Harmon [Thu, 29 Apr 2021 10:14:26 +0000 (05:14 -0500)]
Merge branch 'master' into async-streaming

3 years agoUse stable version of Requests documentation for Intersphinx linking
Harmon [Thu, 29 Apr 2021 10:10:28 +0000 (05:10 -0500)]
Use stable version of Requests documentation for Intersphinx linking

3 years agoAdd documentation for AsyncStream
Harmon [Thu, 29 Apr 2021 10:05:48 +0000 (05:05 -0500)]
Add documentation for AsyncStream

3 years agoMerge branch 'master' into async-streaming
Harmon [Thu, 29 Apr 2021 09:36:28 +0000 (04:36 -0500)]
Merge branch 'master' into async-streaming

3 years agoRemove Pagination Code Snippet
Harmon [Thu, 29 Apr 2021 09:29:48 +0000 (04:29 -0500)]
Remove Pagination Code Snippet

3 years agoImprove limit handling in Cursor iterators
Harmon [Thu, 29 Apr 2021 09:24:07 +0000 (04:24 -0500)]
Improve limit handling in Cursor iterators

3 years agoImprove variable name in Cursor.items
Harmon [Thu, 29 Apr 2021 09:21:25 +0000 (04:21 -0500)]
Improve variable name in Cursor.items

3 years agoUse default limit of infinite rather than 0 for Cursor and iterators
Harmon [Thu, 29 Apr 2021 09:19:45 +0000 (04:19 -0500)]
Use default limit of infinite rather than 0 for Cursor and iterators

3 years agoReplace Cursor Tutorial with documentation for Cursor
Harmon [Thu, 29 Apr 2021 09:02:55 +0000 (04:02 -0500)]
Replace Cursor Tutorial with documentation for Cursor

3 years agoMerge pull request #1574 from kowalczyk-krzysztof/master
Harmon [Wed, 28 Apr 2021 13:55:01 +0000 (08:55 -0500)]
Merge pull request #1574 from kowalczyk-krzysztof/master

Updated Polish language locale

3 years agoUpdated Project-Id-Version for exceptions.po
Krzysztof Kowalczyk [Wed, 28 Apr 2021 13:53:05 +0000 (15:53 +0200)]
Updated Project-Id-Version for exceptions.po

3 years agoFixed changelog date
Krzysztof Kowalczyk [Wed, 28 Apr 2021 13:45:28 +0000 (15:45 +0200)]
Fixed changelog date

3 years agoFixed dates
Krzysztof Kowalczyk [Wed, 28 Apr 2021 13:42:39 +0000 (15:42 +0200)]
Fixed dates

3 years agoFixed translation mistakes
Krzysztof Kowalczyk [Wed, 28 Apr 2021 13:30:36 +0000 (15:30 +0200)]
Fixed translation mistakes

3 years agoImprove API v1.1 Models Reference documentation order
Harmon [Tue, 27 Apr 2021 17:15:14 +0000 (12:15 -0500)]
Improve API v1.1 Models Reference documentation order

3 years agoImprove order in models.py
Harmon [Tue, 27 Apr 2021 16:50:07 +0000 (11:50 -0500)]
Improve order in models.py

3 years agoImprove ResultSet formatting
Harmon [Tue, 27 Apr 2021 16:45:36 +0000 (11:45 -0500)]
Improve ResultSet formatting

3 years agoAdd models reference documentation for API v1.1
Harmon [Tue, 27 Apr 2021 16:28:21 +0000 (11:28 -0500)]
Add models reference documentation for API v1.1

3 years agoRemove Relation model
Harmon [Tue, 27 Apr 2021 16:22:05 +0000 (11:22 -0500)]
Remove Relation model

3 years agoImprove clarity of Client.like
Harmon [Tue, 27 Apr 2021 14:50:20 +0000 (09:50 -0500)]
Improve clarity of Client.like

3 years agoImprove documentation on returned value for Client.like
Harmon [Tue, 27 Apr 2021 14:48:58 +0000 (09:48 -0500)]
Improve documentation on returned value for Client.like

3 years agoImprove documentation on returned value for Client.unlike
Harmon [Tue, 27 Apr 2021 14:48:16 +0000 (09:48 -0500)]
Improve documentation on returned value for Client.unlike

3 years agoAdd Client.block and Client.unblock
Harmon [Tue, 27 Apr 2021 14:39:21 +0000 (09:39 -0500)]
Add Client.block and Client.unblock

3 years agoAdd Client.like and Client.unlike
Harmon [Tue, 27 Apr 2021 13:40:19 +0000 (08:40 -0500)]
Add Client.like and Client.unlike

3 years agoImprove quotation mark consistency in Client tests
Harmon [Tue, 27 Apr 2021 13:34:20 +0000 (08:34 -0500)]
Improve quotation mark consistency in Client tests

3 years agoChange Client.unhide_reply parameter name to match API endpoint
Harmon [Tue, 27 Apr 2021 12:35:00 +0000 (07:35 -0500)]
Change Client.unhide_reply parameter name to match API endpoint

3 years agoMerge pull request #1535 from tweepy/api-v2
Harmon [Tue, 27 Apr 2021 12:21:43 +0000 (07:21 -0500)]
Merge pull request #1535 from tweepy/api-v2

Support Twitter API v2

3 years agoUpdated Polish language locale
Krzysztof Kowalczyk [Wed, 21 Apr 2021 22:39:55 +0000 (00:39 +0200)]
Updated Polish language locale

3 years agoMerge pull request #1569 from DefiDebauchery/patch-1
Harmon [Wed, 14 Apr 2021 21:53:27 +0000 (16:53 -0500)]
Merge pull request #1569 from DefiDebauchery/patch-1

Update TweepError calls to TweepyException

3 years agoUpdate TweepError calls to TweepyException
DefiDebauchery [Wed, 14 Apr 2021 21:33:19 +0000 (17:33 -0400)]
Update TweepError calls to TweepyException

The Error module was updated to TweepyException and needs to be reflected in the async stream.

3 years agoMerge branch 'master' into async-streaming
Harmon [Wed, 14 Apr 2021 20:08:04 +0000 (15:08 -0500)]
Merge branch 'master' into async-streaming

3 years agoRemove record.json
Harmon [Tue, 13 Apr 2021 19:16:15 +0000 (14:16 -0500)]
Remove record.json

3 years agoMerge branch 'master' into api-v2
Harmon [Tue, 13 Apr 2021 05:49:43 +0000 (00:49 -0500)]
Merge branch 'master' into api-v2

3 years agoRemove use_replay import in test_api.py
Harmon [Tue, 13 Apr 2021 05:37:11 +0000 (00:37 -0500)]
Remove use_replay import in test_api.py

3 years agoAdd tests for Client
Harmon [Tue, 13 Apr 2021 04:04:09 +0000 (23:04 -0500)]
Add tests for Client

3 years agoDocument pagination
Harmon [Tue, 13 Apr 2021 03:02:24 +0000 (22:02 -0500)]
Document pagination

3 years agoDocument models
Harmon [Tue, 13 Apr 2021 02:28:42 +0000 (21:28 -0500)]
Document models

3 years agoReplace API v1.1 models in package namespace
Harmon [Tue, 13 Apr 2021 02:24:19 +0000 (21:24 -0500)]
Replace API v1.1 models in package namespace

3 years agoDocument Response
Harmon [Tue, 13 Apr 2021 02:06:16 +0000 (21:06 -0500)]
Document Response

3 years agoDocument Client
Harmon [Tue, 13 Apr 2021 00:40:41 +0000 (19:40 -0500)]
Document Client

3 years agoImprove Client.get_users line length consistency
Harmon [Mon, 12 Apr 2021 22:33:11 +0000 (17:33 -0500)]
Improve Client.get_users line length consistency

3 years agoMerge branch 'master' into api-v2
Harmon [Mon, 12 Apr 2021 21:34:32 +0000 (16:34 -0500)]
Merge branch 'master' into api-v2

3 years agoRemove streaming.py example
Harmon [Mon, 12 Apr 2021 19:44:11 +0000 (14:44 -0500)]
Remove streaming.py example

3 years agoRemove currentmodule directive from exceptions documentation
Harmon [Mon, 12 Apr 2021 19:21:07 +0000 (14:21 -0500)]
Remove currentmodule directive from exceptions documentation

3 years agoFix header reference in documentation for API
Harmon [Mon, 12 Apr 2021 19:14:56 +0000 (14:14 -0500)]
Fix header reference in documentation for API

3 years agoFix header reference in documentation for Stream
Harmon [Mon, 12 Apr 2021 19:14:25 +0000 (14:14 -0500)]
Fix header reference in documentation for Stream

3 years agoUpdate and improve documentation for streaming
Harmon [Mon, 12 Apr 2021 18:28:24 +0000 (13:28 -0500)]
Update and improve documentation for streaming

3 years agoImprove wording in documentation for Stream.on_data
Harmon [Mon, 12 Apr 2021 17:35:28 +0000 (12:35 -0500)]
Improve wording in documentation for Stream.on_data

3 years agoChange Stream.on_closed resp parameter name to response
Harmon [Mon, 12 Apr 2021 17:06:25 +0000 (12:06 -0500)]
Change Stream.on_closed resp parameter name to response

3 years agoDocument API.Stream
Harmon [Mon, 12 Apr 2021 16:49:15 +0000 (11:49 -0500)]
Document API.Stream

3 years agoChange Stream.on_warning notice parameter name to warning
Harmon [Mon, 12 Apr 2021 16:42:38 +0000 (11:42 -0500)]
Change Stream.on_warning notice parameter name to warning

3 years agoChange Stream.on_disconnect_message notice parameter name to message
Harmon [Mon, 12 Apr 2021 16:36:53 +0000 (11:36 -0500)]
Change Stream.on_disconnect_message notice parameter name to message

3 years agoImprove formatting in API.search_full_archive documentation
Harmon [Mon, 12 Apr 2021 05:56:25 +0000 (00:56 -0500)]
Improve formatting in API.search_full_archive documentation

3 years agoImprove formatting in API.search_30_day documentation
Harmon [Mon, 12 Apr 2021 05:55:27 +0000 (00:55 -0500)]
Improve formatting in API.search_30_day documentation

3 years agoAutomatically document all exceptions
Harmon [Mon, 12 Apr 2021 00:17:36 +0000 (19:17 -0500)]
Automatically document all exceptions

3 years agoImprove formatting in API docstring
Harmon [Sun, 11 Apr 2021 23:48:42 +0000 (18:48 -0500)]
Improve formatting in API docstring

3 years agoAdd Read the Docs configuration file to specify requirements files
Harmon [Sun, 11 Apr 2021 23:14:21 +0000 (18:14 -0500)]
Add Read the Docs configuration file to specify requirements files

3 years agoPin recommonmark version for documentation
Harmon [Sun, 11 Apr 2021 23:07:20 +0000 (18:07 -0500)]
Pin recommonmark version for documentation

For linebreaks in >= 0.6.0 (https://github.com/readthedocs/recommonmark/pull/162)

3 years agoImprove note about release notes in changelog
Harmon [Sun, 11 Apr 2021 22:50:04 +0000 (17:50 -0500)]
Improve note about release notes in changelog

3 years agoMove changelog to documentation
Harmon [Sun, 11 Apr 2021 22:41:13 +0000 (17:41 -0500)]
Move changelog to documentation

3 years agoImprove order of Extended Tweets documentation
Harmon [Sun, 11 Apr 2021 22:16:29 +0000 (17:16 -0500)]
Improve order of Extended Tweets documentation

3 years agoUpdate link to Twitter's Tweet updates documentation
Harmon [Sun, 11 Apr 2021 22:15:37 +0000 (17:15 -0500)]
Update link to Twitter's Tweet updates documentation

3 years agoImprove API documentation header capitalization
Harmon [Sun, 11 Apr 2021 21:42:37 +0000 (16:42 -0500)]
Improve API documentation header capitalization

3 years agoRemove self-evident blurb in API documentation
Harmon [Sun, 11 Apr 2021 21:41:17 +0000 (16:41 -0500)]
Remove self-evident blurb in API documentation

3 years agoImprove API documentation headers
Harmon [Sun, 11 Apr 2021 21:38:19 +0000 (16:38 -0500)]
Improve API documentation headers

3 years agoSeparate, update, and improve exceptions documentation
Harmon [Sun, 11 Apr 2021 21:28:48 +0000 (16:28 -0500)]
Separate, update, and improve exceptions documentation

Automatically use docstrings for documentation

3 years agoUpdate and improve documentation for API.search_full_archive
Harmon [Sun, 11 Apr 2021 21:03:28 +0000 (16:03 -0500)]
Update and improve documentation for API.search_full_archive

Automatically use docstring for documentation
Improve method and documentation order
Update environment_name parameter name to label in documentation
Add return type to documentation

3 years agoUpdate and improve documentation for API.search_30_day
Harmon [Sun, 11 Apr 2021 20:55:35 +0000 (15:55 -0500)]
Update and improve documentation for API.search_30_day

Automatically use docstring for documentation
Improve method and documentation order
Add API documentation header to match API reference index
Update environment_name parameter name to label in documentation
Add return type to documentation

3 years agoUpdate and improve documentation for API.rate_limit_status
Harmon [Sun, 11 Apr 2021 20:33:33 +0000 (15:33 -0500)]
Update and improve documentation for API.rate_limit_status

Automatically use docstring for documentation
Change API documentation header to match API reference index
Add documentation for resources parameter

3 years agoDocument API.supported_languages
Harmon [Sun, 11 Apr 2021 20:29:02 +0000 (15:29 -0500)]
Document API.supported_languages

Automatically use docstring for documentation
Improve method order
Add API documentation header to match API reference index

3 years agoUpdate and improve documentation for API.configuration
Harmon [Sun, 11 Apr 2021 20:25:29 +0000 (15:25 -0500)]
Update and improve documentation for API.configuration

Automatically use docstring for documentation
Improve method and documentation order
Add API documentation headers to match API reference index
Add return type to documentation