tweepy.git
2 years agoAdd link for pip in installation documentation
Harmon [Thu, 6 Jan 2022 00:41:43 +0000 (18:41 -0600)]
Add link for pip in installation documentation

2 years agoUse requests exception to handle JSONDecodeError
Harmon [Thu, 6 Jan 2022 00:16:09 +0000 (18:16 -0600)]
Use requests exception to handle JSONDecodeError

2 years agoUpdate requests dependency requirement to >= 2.27.0
Harmon [Thu, 6 Jan 2022 00:12:03 +0000 (18:12 -0600)]
Update requests dependency requirement to >= 2.27.0

2 years agoAdd API v2 examples
Harmon [Sun, 2 Jan 2022 00:29:34 +0000 (18:29 -0600)]
Add API v2 examples

2 years agoImprove FAQ question about API v2 model/object data
Harmon [Sat, 1 Jan 2022 17:12:41 +0000 (11:12 -0600)]
Improve FAQ question about API v2 model/object data

2 years agoImprove FAQ question about API v2 model/object data
Harmon [Sat, 1 Jan 2022 14:43:12 +0000 (08:43 -0600)]
Improve FAQ question about API v2 model/object data

2 years agoAdd Media.url
Harmon [Sat, 1 Jan 2022 14:35:17 +0000 (08:35 -0600)]
Add Media.url

Resolves #1722

2 years agoUpdate copyright years to include 2022
Harmon [Sat, 1 Jan 2022 13:14:26 +0000 (07:14 -0600)]
Update copyright years to include 2022

2 years agoMerge pull request #1751 from seratch/doc-errors
Harmon [Thu, 30 Dec 2021 10:12:33 +0000 (04:12 -0600)]
Merge pull request #1751 from seratch/doc-errors

Fix a few errors in docs, comments, and tests

2 years agoFix a few errors in docs, comments, and tests
Kazuhiro Sera [Thu, 30 Dec 2021 08:31:23 +0000 (17:31 +0900)]
Fix a few errors in docs, comments, and tests

2 years agoMerge pull request #1733 from kanguyen-vn/client-includes-fix
Harmon [Wed, 22 Dec 2021 21:36:54 +0000 (15:36 -0600)]
Merge pull request #1733 from kanguyen-vn/client-includes-fix

Minor fix(es) to Client's _make_request

2 years agoImprove formatting in Client._make_request
Harmon [Wed, 22 Dec 2021 21:35:58 +0000 (15:35 -0600)]
Improve formatting in Client._make_request

2 years agoFixed includes for poll objects
Kiet Nguyen [Fri, 17 Dec 2021 23:26:05 +0000 (18:26 -0500)]
Fixed includes for poll objects

2 years agoUpdate and improve extended Tweets documentation
Harmon [Mon, 22 Nov 2021 18:21:27 +0000 (12:21 -0600)]
Update and improve extended Tweets documentation

2 years agoImprove FAQ section titles for 401 and 403 errors
Harmon [Sun, 21 Nov 2021 17:41:46 +0000 (11:41 -0600)]
Improve FAQ section titles for 401 and 403 errors

2 years agoAdd FAQ section on API.search
Harmon [Fri, 19 Nov 2021 16:20:23 +0000 (10:20 -0600)]
Add FAQ section on API.search

2 years agoAdd FAQ section on Essential access and Twitter API v1.1
Harmon [Fri, 19 Nov 2021 15:56:38 +0000 (09:56 -0600)]
Add FAQ section on Essential access and Twitter API v1.1

2 years agoImprove and optimize Model.__getstate__
Harmon [Fri, 19 Nov 2021 15:16:57 +0000 (09:16 -0600)]
Improve and optimize Model.__getstate__

Resolves #1707

2 years agoImprove formatting in changelog for version 4.4.0
Harmon [Wed, 17 Nov 2021 14:36:28 +0000 (08:36 -0600)]
Improve formatting in changelog for version 4.4.0

2 years agoRelease v4.4.0
Harmon [Wed, 17 Nov 2021 14:29:04 +0000 (08:29 -0600)]
Release v4.4.0

2 years agoAdd changelog for version 4.4.0
Harmon [Wed, 17 Nov 2021 14:27:26 +0000 (08:27 -0600)]
Add changelog for version 4.4.0

2 years agoAdd version changed directive to documentation for Space
Harmon [Wed, 17 Nov 2021 14:18:15 +0000 (08:18 -0600)]
Add version changed directive to documentation for Space

2 years agoAdd version added directive to documentation for Client.get_space_buyers
Harmon [Wed, 17 Nov 2021 14:13:36 +0000 (08:13 -0600)]
Add version added directive to documentation for Client.get_space_buyers

2 years agoAdd Space.ended_at and Space.topic_ids
Harmon [Wed, 17 Nov 2021 14:06:27 +0000 (08:06 -0600)]
Add Space.ended_at and Space.topic_ids

2 years agoAdd Client.get_space_buyers
Harmon [Wed, 17 Nov 2021 13:38:45 +0000 (07:38 -0600)]
Add Client.get_space_buyers

2 years agoRemove now unnecessary API import in auth.py
Harmon [Tue, 16 Nov 2021 14:24:18 +0000 (08:24 -0600)]
Remove now unnecessary API import in auth.py

2 years agoRemove Space.__str__
Harmon [Tue, 16 Nov 2021 14:10:31 +0000 (08:10 -0600)]
Remove Space.__str__

2 years agoAdd support for Twitter API v2 List lookup endpoints
Harmon [Tue, 16 Nov 2021 13:52:59 +0000 (07:52 -0600)]
Add support for Twitter API v2 List lookup endpoints

2 years agoImprove formatting for Client.follow_list and Client.unfollow_list test
Harmon [Mon, 15 Nov 2021 22:05:57 +0000 (16:05 -0600)]
Improve formatting for Client.follow_list and Client.unfollow_list test

2 years agoRelease v4.3.0
Harmon [Wed, 3 Nov 2021 22:13:43 +0000 (17:13 -0500)]
Release v4.3.0

2 years agoAdd changelog for version 4.3.0
Harmon [Wed, 3 Nov 2021 22:12:12 +0000 (17:12 -0500)]
Add changelog for version 4.3.0

2 years agoAdd version added directive to documentation for manage Tweets methods
Harmon [Wed, 3 Nov 2021 21:53:41 +0000 (16:53 -0500)]
Add version added directive to documentation for manage Tweets methods

2 years agoUpdate documentation for Client.create_tweet
Harmon [Wed, 3 Nov 2021 21:51:14 +0000 (16:51 -0500)]
Update documentation for Client.create_tweet

https://twittercommunity.com/t/incorrect-types-in-documentation-for-post-2-tweets-json-body-parameters/161527
https://twittercommunity.com/t/manage-tweets-endpoint/161516

2 years agoAdd support for managing Tweets with API v2
Harmon [Wed, 3 Nov 2021 21:48:57 +0000 (16:48 -0500)]
Add support for managing Tweets with API v2

2 years agoUpdate config import in tests
Harmon [Wed, 3 Nov 2021 21:40:08 +0000 (16:40 -0500)]
Update config import in tests

Also improve formatting in tests

2 years agoAdd table for Client documentation
Harmon [Tue, 2 Nov 2021 00:18:40 +0000 (19:18 -0500)]
Add table for Client documentation

2 years agoImprove table formatting in API documentation
Harmon [Mon, 1 Nov 2021 23:12:53 +0000 (18:12 -0500)]
Improve table formatting in API documentation

2 years agoUpdate Twitter API reference link in Client.like documentation
Harmon [Mon, 1 Nov 2021 22:58:41 +0000 (17:58 -0500)]
Update Twitter API reference link in Client.like documentation

2 years agoUpdate Twitter API reference link in Client.unlike documentation
Harmon [Mon, 1 Nov 2021 22:53:31 +0000 (17:53 -0500)]
Update Twitter API reference link in Client.unlike documentation

2 years agoFix Client.return_type type in documentation
Harmon [Mon, 1 Nov 2021 18:46:55 +0000 (13:46 -0500)]
Fix Client.return_type type in documentation

2 years agoUse note directive in documentation for API.search_tweets
Harmon [Mon, 1 Nov 2021 16:57:19 +0000 (11:57 -0500)]
Use note directive in documentation for API.search_tweets

2 years agoAllow linking to a specific tab in the documentation
Harmon [Mon, 1 Nov 2021 16:14:25 +0000 (11:14 -0500)]
Allow linking to a specific tab in the documentation

2 years agoAdd streaming example
Harmon [Mon, 1 Nov 2021 14:06:56 +0000 (09:06 -0500)]
Add streaming example

2 years agoFix version added directive usage in documentation for HTTPException
Harmon [Sun, 31 Oct 2021 19:14:42 +0000 (14:14 -0500)]
Fix version added directive usage in documentation for HTTPException

2 years agoChange directive in TweepyException and TooManyRequests documentation
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

2 years agoAdd version added directive to documentation for HTTPException
Harmon [Sun, 31 Oct 2021 19:10:07 +0000 (14:10 -0500)]
Add version added directive to documentation for HTTPException

2 years agoRemove signatures from documentation of exceptions
Harmon [Sun, 31 Oct 2021 19:06:49 +0000 (14:06 -0500)]
Remove signatures from documentation of exceptions

2 years agoDocument HTTPException attributes
Harmon [Sun, 31 Oct 2021 18:55:26 +0000 (13:55 -0500)]
Document HTTPException attributes

2 years agoReplace CONTRIBUTORS file with Contributors section in documentation
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

2 years agoChange Running Tests page in documentation to Development
Harmon [Sun, 31 Oct 2021 14:28:39 +0000 (09:28 -0500)]
Change Running Tests page in documentation to Development

2 years agoReplace Code Snippets page in documentation with Examples
Harmon [Sat, 30 Oct 2021 17:23:57 +0000 (12:23 -0500)]
Replace Code Snippets page in documentation with Examples

2 years agoAdd rate limit handling example
Harmon [Sat, 30 Oct 2021 17:20:38 +0000 (12:20 -0500)]
Add rate limit handling example

2 years agoAdd follow followers example
Harmon [Sat, 30 Oct 2021 16:33:34 +0000 (11:33 -0500)]
Add follow followers example

2 years agoAdd Tweet / update status example
Harmon [Sat, 30 Oct 2021 16:27:33 +0000 (11:27 -0500)]
Add Tweet / update status example

2 years agoAdd PIN-based authorization example
Harmon [Sat, 30 Oct 2021 16:06:44 +0000 (11:06 -0500)]
Add PIN-based authorization example

2 years agoRename oauth.py example to authentication.py
Harmon [Sat, 30 Oct 2021 15:43:08 +0000 (10:43 -0500)]
Rename oauth.py example to authentication.py

2 years agoUpdate and improve oauth.py example
Harmon [Sat, 30 Oct 2021 15:41:43 +0000 (10:41 -0500)]
Update and improve oauth.py example

2 years agoMove ASCII_LOGO.txt to assets folder
Harmon [Sat, 30 Oct 2021 14:55:17 +0000 (09:55 -0500)]
Move ASCII_LOGO.txt to assets folder

2 years agoMove test media from examples folder to new assets folder
Harmon [Sat, 30 Oct 2021 14:53:09 +0000 (09:53 -0500)]
Move test media from examples folder to new assets folder

2 years agoRemove examples and tests package exclusion in setup.py
Harmon [Sat, 30 Oct 2021 14:41:02 +0000 (09:41 -0500)]
Remove examples and tests package exclusion in setup.py

2 years agoRemove __init__.py from tests
Harmon [Sat, 30 Oct 2021 14:23:38 +0000 (09:23 -0500)]
Remove __init__.py from tests

2 years agoRemove __init__.py from examples
Harmon [Sat, 30 Oct 2021 14:22:28 +0000 (09:22 -0500)]
Remove __init__.py from examples

2 years agoRelease v4.2.0
Harmon [Fri, 29 Oct 2021 16:43:44 +0000 (11:43 -0500)]
Release v4.2.0

2 years agoAdd changelog for version 4.2.0
Harmon [Fri, 29 Oct 2021 16:40:27 +0000 (11:40 -0500)]
Add changelog for version 4.2.0

2 years agoFix IdIterator to pass API instance to parsers and models
Harmon [Fri, 29 Oct 2021 16:22:28 +0000 (11:22 -0500)]
Fix IdIterator to pass API instance to parsers and models

2 years agoUpdate documentation for private parameter for Client.update_list
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

2 years agoFix parse_datetime to parse API datetime string format with Python 3.6
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

2 years agoAdd and use parse_datetime utility function for API v2 models
Harmon [Thu, 28 Oct 2021 15:17:50 +0000 (10:17 -0500)]
Add and use parse_datetime utility function for API v2 models

2 years agoImprove README badge order
Harmon [Mon, 25 Oct 2021 18:26:39 +0000 (13:26 -0500)]
Improve README badge order

2 years agoAdd version added directive to documentation for AsyncStream
Harmon [Mon, 25 Oct 2021 09:25:33 +0000 (04:25 -0500)]
Add version added directive to documentation for AsyncStream

2 years agoAdd version added and changed directives to documentation for exceptions
Harmon [Mon, 25 Oct 2021 09:23:06 +0000 (04:23 -0500)]
Add version added and changed directives to documentation for exceptions

2 years agoAdd version added directive to documentation for Paginator
Harmon [Mon, 25 Oct 2021 09:14:13 +0000 (04:14 -0500)]
Add version added directive to documentation for Paginator

2 years agoAdd version added directive to documentation for Response
Harmon [Mon, 25 Oct 2021 09:13:46 +0000 (04:13 -0500)]
Add version added directive to documentation for Response

2 years agoAdd version added directive to documentation for API v2 models
Harmon [Mon, 25 Oct 2021 09:09:48 +0000 (04:09 -0500)]
Add version added directive to documentation for API v2 models

2 years agoAdd version added and changed directives to documentation for Client
Harmon [Mon, 25 Oct 2021 09:06:39 +0000 (04:06 -0500)]
Add version added and changed directives to documentation for Client

2 years agoRename Client.follow and Client.unfollow
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

2 years agoImprove Client.follow and Client.unfollow test to be more contained
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

2 years agoAdd support for managing lists
Harmon [Mon, 25 Oct 2021 07:32:52 +0000 (02:32 -0500)]
Add support for managing lists

2 years agoImprove Client formatting consistency
Harmon [Mon, 25 Oct 2021 06:56:46 +0000 (01:56 -0500)]
Improve Client formatting consistency

2 years agoChange state to optional parameter for Client.search_spaces
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

2 years agoAdd FAQ section on API.me for v4
Harmon [Sun, 24 Oct 2021 00:23:30 +0000 (19:23 -0500)]
Add FAQ section on API.me for v4

2 years agoLink to v4.0.0 changelog in FAQ
Harmon [Sat, 23 Oct 2021 16:59:23 +0000 (11:59 -0500)]
Link to v4.0.0 changelog in FAQ

2 years agoAdd FAQ section on StreamListener for v4
Harmon [Sat, 23 Oct 2021 16:49:05 +0000 (11:49 -0500)]
Add FAQ section on StreamListener for v4

2 years agoAdd FAQ section on positional arguments for API methods in v4
Harmon [Sat, 23 Oct 2021 16:43:30 +0000 (11:43 -0500)]
Add FAQ section on positional arguments for API methods in v4

2 years agoAdd FAQ section on Client.search_all_tweets per second rate limit
Harmon [Sat, 23 Oct 2021 16:11:14 +0000 (11:11 -0500)]
Add FAQ section on Client.search_all_tweets per second rate limit

2 years agoAdd FAQ section on inconsistency for high traffic / volume accounts
Harmon [Wed, 20 Oct 2021 17:08:36 +0000 (12:08 -0500)]
Add FAQ section on inconsistency for high traffic / volume accounts

2 years agoAdd FAQ to documentation
Harmon [Mon, 18 Oct 2021 21:49:31 +0000 (16:49 -0500)]
Add FAQ to documentation

2 years agoRelease v4.1.0
Harmon [Thu, 7 Oct 2021 08:30:39 +0000 (03:30 -0500)]
Release v4.1.0

2 years agoAdd changelog for version 4.1.0
Harmon [Thu, 7 Oct 2021 08:27:23 +0000 (03:27 -0500)]
Add changelog for version 4.1.0

2 years agoImprove v4.0.1 changelog formatting consistency
Harmon [Thu, 7 Oct 2021 08:21:10 +0000 (03:21 -0500)]
Improve v4.0.1 changelog formatting consistency

2 years agoAdd Client.get_muted
Harmon [Thu, 7 Oct 2021 08:07:36 +0000 (03:07 -0500)]
Add Client.get_muted

2 years agoAdd support for batch compliance
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

2 years agoAdd support for Spaces
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

2 years agoAdd support for Python 3.10
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

2 years agoMerge pull request #1683 from Syndorik/spelling-mistake
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

2 years agocorrected 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

2 years agoMerge pull request #1682 from gilsedition/patch-1
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

2 years agoDocumentation: 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.

2 years agoRelease v4.0.1
Harmon [Fri, 1 Oct 2021 18:16:21 +0000 (13:16 -0500)]
Release v4.0.1

2 years agoAdd changelog for version 4.0.1
Harmon [Fri, 1 Oct 2021 18:12:19 +0000 (13:12 -0500)]
Add changelog for version 4.0.1