tweepy.git
2 years agoFixed comments
Suhem Parack [Wed, 2 Mar 2022 04:47:47 +0000 (20:47 -0800)]
Fixed comments

2 years agoupdates based on PR comments
Suhem Parack [Tue, 1 Mar 2022 23:07:15 +0000 (15:07 -0800)]
updates based on PR comments

2 years agoUpdate examples/API_v2/lookup_tweets_using_tweet_ids.py
Suhem Parack [Tue, 1 Mar 2022 22:57:38 +0000 (14:57 -0800)]
Update examples/API_v2/lookup_tweets_using_tweet_ids.py

Co-authored-by: Harmon <Harmon758@gmail.com>
2 years agoUpdate examples/API_v2/lookup_users_using_user_ids.py
Suhem Parack [Tue, 1 Mar 2022 22:57:29 +0000 (14:57 -0800)]
Update examples/API_v2/lookup_users_using_user_ids.py

Co-authored-by: Harmon <Harmon758@gmail.com>
2 years agolinked examples to examples.rst
Suhem Parack [Tue, 1 Mar 2022 21:50:11 +0000 (13:50 -0800)]
linked examples to examples.rst

2 years agoAdded additional user for user lookup
Suhem Parack [Tue, 1 Mar 2022 21:38:14 +0000 (13:38 -0800)]
Added additional user for user lookup

2 years agoUpdated formatting
Suhem Parack [Tue, 1 Mar 2022 21:35:03 +0000 (13:35 -0800)]
Updated formatting

2 years agoUpdates based on comments on PR
Suhem Parack [Tue, 1 Mar 2022 21:25:47 +0000 (13:25 -0800)]
Updates based on comments on PR

2 years agoUpdate examples/API_v2/get_liked_tweets.py
Suhem Parack [Tue, 1 Mar 2022 20:31:19 +0000 (12:31 -0800)]
Update examples/API_v2/get_liked_tweets.py

Co-authored-by: Harmon <Harmon758@gmail.com>
2 years agoAdded more examples for Twitter API v2
Suhem Parack [Tue, 1 Mar 2022 16:47:22 +0000 (08:47 -0800)]
Added more examples for Twitter API v2

2 years agoAdd documentation for User
Harmon [Sun, 27 Feb 2022 20:56:30 +0000 (14:56 -0600)]
Add documentation for User

2 years agoAdd documentation for ReferencedTweet
Harmon [Sun, 27 Feb 2022 20:43:15 +0000 (14:43 -0600)]
Add documentation for ReferencedTweet

2 years agoAdd documentation for Tweet
Harmon [Sun, 27 Feb 2022 20:39:42 +0000 (14:39 -0600)]
Add documentation for Tweet

2 years agoOptimize Tweet.referenced_tweets initialization
Harmon [Sun, 27 Feb 2022 20:35:20 +0000 (14:35 -0600)]
Optimize Tweet.referenced_tweets initialization

2 years agoAdd documentation for Space
Harmon [Sun, 27 Feb 2022 20:14:28 +0000 (14:14 -0600)]
Add documentation for Space

2 years agoCorrect Place.contained_within type in documentation
Harmon [Sun, 27 Feb 2022 20:08:23 +0000 (14:08 -0600)]
Correct Place.contained_within type in documentation

2 years agoAdd documentation for Poll
Harmon [Sun, 27 Feb 2022 20:01:14 +0000 (14:01 -0600)]
Add documentation for Poll

2 years agoAdd documentation for Place
Harmon [Sun, 27 Feb 2022 19:55:23 +0000 (13:55 -0600)]
Add documentation for Place

2 years agoAdd documentation for Media
Harmon [Sun, 27 Feb 2022 19:47:28 +0000 (13:47 -0600)]
Add documentation for Media

2 years agoAdd documentation for List
Harmon [Sun, 27 Feb 2022 19:25:18 +0000 (13:25 -0600)]
Add documentation for List

2 years agoImprove documentation for Client parameters
Harmon [Sun, 27 Feb 2022 08:43:03 +0000 (02:43 -0600)]
Improve documentation for Client parameters

Specify OAuth 1.0a or 2.0 and indicate bearer_token as OAuth 2.0 access token as well

2 years agoRemove StreamResponse__init__ documentation
Harmon [Sun, 27 Feb 2022 00:50:44 +0000 (18:50 -0600)]
Remove StreamResponse__init__ documentation

2 years agoRemove Response__init__ documentation
Harmon [Sun, 27 Feb 2022 00:49:40 +0000 (18:49 -0600)]
Remove Response__init__ documentation

2 years agoUse dash instead of underscore for requests-oauthlib requirement
Harmon [Sat, 26 Feb 2022 23:26:15 +0000 (17:26 -0600)]
Use dash instead of underscore for requests-oauthlib requirement

2 years agoFix return for Client.follow
Harmon [Sat, 26 Feb 2022 19:38:32 +0000 (13:38 -0600)]
Fix return for Client.follow

Properly return response from Client.follow_user rather than None

2 years agoFix return for Client.unfollow
Harmon [Sat, 26 Feb 2022 19:37:41 +0000 (13:37 -0600)]
Fix return for Client.unfollow

Properly return response from Client.unfollow_user rather than None

2 years agoFix Client.search_recent_tweets user_auth parameter type documentation
Harmon [Sat, 26 Feb 2022 19:17:23 +0000 (13:17 -0600)]
Fix Client.search_recent_tweets user_auth parameter type documentation

2 years agoIndicate endpoint parameters as optional in Client documentation
Harmon [Sat, 26 Feb 2022 18:50:55 +0000 (12:50 -0600)]
Indicate endpoint parameters as optional in Client documentation

Properly indicate endpoint parameters as optional in documentation for Client methods

2 years agoIndicate parameters as optional in documentation for Client.get_spaces
Harmon [Sat, 26 Feb 2022 18:48:49 +0000 (12:48 -0600)]
Indicate parameters as optional in documentation for Client.get_spaces

Properly indicate ids and user_ids parameters as optional in documentation for Client.get_spaces

2 years agoIndicate parameters as optional in documentation for Client.get_users
Harmon [Sat, 26 Feb 2022 18:48:02 +0000 (12:48 -0600)]
Indicate parameters as optional in documentation for Client.get_users

Properly indicate ids and usernames parameters as optional in documentation for Client.get_users

2 years agoIndicate parameters as optional in documentation for Client.get_user
Harmon [Sat, 26 Feb 2022 18:47:15 +0000 (12:47 -0600)]
Indicate parameters as optional in documentation for Client.get_user

Properly indicate id and username parameters as optional in documentation for Client.get_user

2 years agoAdd parameter to Client.search_recent_tweets signature in documentation
Harmon [Sat, 26 Feb 2022 00:30:14 +0000 (18:30 -0600)]
Add parameter to Client.search_recent_tweets signature in documentation

Add new sort_order parameter to Client.search_recent_tweets signature in documentation

2 years agoAdd parameter to Client.search_all_tweets signature in documentation
Harmon [Sat, 26 Feb 2022 00:29:09 +0000 (18:29 -0600)]
Add parameter to Client.search_all_tweets signature in documentation

Add new sort_order parameter to Client.search_all_tweets signature in documentation

2 years agoAdd parameters to Client.get_retweeters signature in documentation
Harmon [Sat, 26 Feb 2022 00:27:13 +0000 (18:27 -0600)]
Add parameters to Client.get_retweeters signature in documentation

Add new max_results and pagination_token parameters to Client.get_retweeters signature in documentation

2 years agoAdd parameters to Client.get_liking_users signature in documentation
Harmon [Sat, 26 Feb 2022 00:25:34 +0000 (18:25 -0600)]
Add parameters to Client.get_liking_users signature in documentation

Add new max_results and pagination_token parameters to Client.get_liking_users signature in documentation

2 years agoUse generic standard type collection type in documentation
Harmon [Fri, 25 Feb 2022 23:53:56 +0000 (17:53 -0600)]
Use generic standard type collection type in documentation

2 years agoUse | operator for optional types in documentation
Harmon [Fri, 25 Feb 2022 22:48:44 +0000 (16:48 -0600)]
Use | operator for optional types in documentation

2 years agoFix erroneous generic list types in documentation for Client methods
Harmon [Fri, 25 Feb 2022 22:32:32 +0000 (16:32 -0600)]
Fix erroneous generic list types in documentation for Client methods

2 years agoUse | operator for union types in documentation
Harmon [Fri, 25 Feb 2022 22:24:27 +0000 (16:24 -0600)]
Use | operator for union types in documentation

2 years agoFix references for generic list type in documentation
Harmon [Fri, 25 Feb 2022 21:53:33 +0000 (15:53 -0600)]
Fix references for generic list type in documentation

2 years agoUse asyncio.create_task in AsyncStream.filter and AsyncStream.sample
Harmon [Fri, 25 Feb 2022 20:59:15 +0000 (14:59 -0600)]
Use asyncio.create_task in AsyncStream.filter and AsyncStream.sample

2 years agoUse %z directive in parse_datetime
Harmon [Fri, 25 Feb 2022 20:52:31 +0000 (14:52 -0600)]
Use %z directive in parse_datetime

2 years agoUpdate Python requirement to >= 3.7
Harmon [Fri, 25 Feb 2022 20:48:34 +0000 (14:48 -0600)]
Update Python requirement to >= 3.7

2 years agoDrop support for Python 3.6
Harmon [Fri, 25 Feb 2022 20:38:35 +0000 (14:38 -0600)]
Drop support for Python 3.6

Resolves #1788

2 years agoExplicitly specify Read the Docs Sphinx Theme for documentation
Harmon [Fri, 25 Feb 2022 17:01:45 +0000 (11:01 -0600)]
Explicitly specify Read the Docs Sphinx Theme for documentation

2 years agoUse Read the Docs Sphinx search extension
Harmon [Fri, 25 Feb 2022 16:43:50 +0000 (10:43 -0600)]
Use Read the Docs Sphinx search extension

2 years agoUse rubric directive for Example headings in Pagination documentation
Harmon [Fri, 25 Feb 2022 16:22:00 +0000 (10:22 -0600)]
Use rubric directive for Example headings in Pagination documentation

2 years agoOrganize documentation arrangement
Harmon [Fri, 25 Feb 2022 16:05:16 +0000 (10:05 -0600)]
Organize documentation arrangement

Improve index / table of contents categorization

2 years agoImprove Pagination documentation header consistency
Harmon [Fri, 25 Feb 2022 14:58:04 +0000 (08:58 -0600)]
Improve Pagination documentation header consistency

2 years agoRelease v4.6.0
Harmon [Thu, 24 Feb 2022 20:56:30 +0000 (14:56 -0600)]
Release v4.6.0

2 years agoAdd changelog for version 4.6.0
Harmon [Thu, 24 Feb 2022 20:43:09 +0000 (14:43 -0600)]
Add changelog for version 4.6.0

2 years agoOverride Mapping.__contains__ in DataMapping
Harmon [Thu, 24 Feb 2022 19:46:08 +0000 (13:46 -0600)]
Override Mapping.__contains__ in DataMapping

This allows membership tests to check for existence within data, rather than existence of the attribute at all

2 years agoAdd subscriber_count field for Space
Harmon [Thu, 24 Feb 2022 19:33:50 +0000 (13:33 -0600)]
Add subscriber_count field for Space

2 years agoAdd version changed directive to documentation for Media.url
Harmon [Wed, 23 Feb 2022 15:24:28 +0000 (09:24 -0600)]
Add version changed directive to documentation for Media.url

2 years agoMerge pull request #1823 from SimkoCarlos/patch-1
Harmon [Wed, 23 Feb 2022 01:38:53 +0000 (19:38 -0600)]
Merge pull request #1823 from SimkoCarlos/patch-1

Fix bug (missing comma in streaming.py)

2 years agoFix missing comma in streaming.py
SimkoCarlos [Wed, 23 Feb 2022 01:32:59 +0000 (22:32 -0300)]
Fix missing comma in streaming.py

2 years agoNote usage of Twitter API v1.1 in documentation for AsyncStream
Harmon [Sun, 20 Feb 2022 06:40:37 +0000 (00:40 -0600)]
Note usage of Twitter API v1.1 in documentation for AsyncStream

2 years agoAdd support for streaming with Twitter API v2
Harmon [Sun, 20 Feb 2022 06:18:00 +0000 (00:18 -0600)]
Add support for streaming with Twitter API v2

Refactor Client and Stream to inherit from new BaseClient and BaseStream classes and add StreamingClient, StreamResponse, and StreamRule

2 years agoUse Intersphinx linking in Streaming documentation
Harmon [Sun, 20 Feb 2022 03:26:29 +0000 (21:26 -0600)]
Use Intersphinx linking in Streaming documentation

2 years agoImprove indentation in Streaming documentation
Harmon [Sun, 20 Feb 2022 03:10:31 +0000 (21:10 -0600)]
Improve indentation in Streaming documentation

2 years agoInitialize Stream.session within Stream.__init__
Harmon [Tue, 23 Nov 2021 13:41:24 +0000 (07:41 -0600)]
Initialize Stream.session within Stream.__init__

Update the user agent based on Stream.user_agent even if Stream.session is already initialized

2 years agoUse repr of text in Tweet.__repr__
Harmon [Sun, 20 Feb 2022 05:04:14 +0000 (23:04 -0600)]
Use repr of text in Tweet.__repr__

This avoids including inconstant newlines, rather than escaped newlines, in the string representation of the Tweet object, making it more consistent

2 years agoAdd Client.get_space_tweets
Harmon [Sun, 20 Feb 2022 00:32:31 +0000 (18:32 -0600)]
Add Client.get_space_tweets

2 years agoFix typos in version changed directives for Client methods
Harmon [Sat, 19 Feb 2022 21:20:06 +0000 (15:20 -0600)]
Fix typos in version changed directives for Client methods

2 years agoAdd version changed directive to documentation for Client method
Harmon [Sat, 19 Feb 2022 21:10:07 +0000 (15:10 -0600)]
Add version changed directive to documentation for Client method

Add version changed directive to documentation for Client.search_recent_tweets

2 years agoAdd version changed directive to Client.search_all_tweets documentation
Harmon [Sat, 19 Feb 2022 21:09:20 +0000 (15:09 -0600)]
Add version changed directive to Client.search_all_tweets documentation

2 years agoAdd version changed directive to Client.get_liking_users documentation
Harmon [Sat, 19 Feb 2022 21:08:25 +0000 (15:08 -0600)]
Add version changed directive to Client.get_liking_users documentation

2 years agoAdd version changed directive to documentation for Client.get_retweeters
Harmon [Sat, 19 Feb 2022 21:07:29 +0000 (15:07 -0600)]
Add version changed directive to documentation for Client.get_retweeters

2 years agoAdd Twitter API version badges to README
Harmon [Thu, 10 Feb 2022 00:27:46 +0000 (18:27 -0600)]
Add Twitter API version badges to README

2 years agoSupport new endpoint parameter for Client.search_recent_tweets
Harmon [Thu, 10 Feb 2022 00:12:50 +0000 (18:12 -0600)]
Support new endpoint parameter for Client.search_recent_tweets

Support new sort_order endpoint parameter for Client.search_recent_tweets

2 years agoSupport new endpoint parameter for Client.search_all_tweets
Harmon [Thu, 10 Feb 2022 00:11:05 +0000 (18:11 -0600)]
Support new endpoint parameter for Client.search_all_tweets

Support new sort_order endpoint parameter for Client.search_all_tweets

2 years agoSupport new endpoint parameters for Client.get_liking_users
Harmon [Wed, 9 Feb 2022 23:58:58 +0000 (17:58 -0600)]
Support new endpoint parameters for Client.get_liking_users

Add support for max_results and pagination_token endpoint parameters to Client.get_liking_users

2 years agoSupport new endpoint parameters for Client.get_retweeters
Harmon [Wed, 9 Feb 2022 23:57:52 +0000 (17:57 -0600)]
Support new endpoint parameters for Client.get_retweeters

Add support for max_results and pagination_token endpoint parameters to Client.get_retweeters

2 years agoUpdate usage of OAuthHandler to OAuth1UserHandler
Harmon [Wed, 9 Feb 2022 21:51:52 +0000 (15:51 -0600)]
Update usage of OAuthHandler to OAuth1UserHandler

2 years agoUpdate usage of AppAuthHandler in pagination documentation
Harmon [Wed, 9 Feb 2022 21:42:10 +0000 (15:42 -0600)]
Update usage of AppAuthHandler in pagination documentation

Update usage of AppAuthHandler to OAuth2AppHandler in pagination documentation

2 years agoUpdate README to match installation documentation
Harmon [Tue, 8 Feb 2022 23:12:18 +0000 (17:12 -0600)]
Update README to match installation documentation

2 years agoUpdate requests_oauthlib dependency requirement to >= 1.2.0
Harmon [Mon, 7 Feb 2022 20:26:25 +0000 (14:26 -0600)]
Update requests_oauthlib dependency requirement to >= 1.2.0

2 years agoUse oauthlib to create code challenge and verifier for PKCE
Harmon [Mon, 7 Feb 2022 20:24:55 +0000 (14:24 -0600)]
Use oauthlib to create code challenge and verifier for PKCE

2 years agoExplicitly specify oauthlib dependency requirement as >= 3.2.0
Harmon [Mon, 7 Feb 2022 20:20:43 +0000 (14:20 -0600)]
Explicitly specify oauthlib dependency requirement as >= 3.2.0

2 years agoCapitalize PKCE code challenge method
Harmon [Mon, 7 Feb 2022 20:04:35 +0000 (14:04 -0600)]
Capitalize PKCE code challenge method

2 years agoImprove authentication documentation formatting
Harmon [Mon, 7 Feb 2022 12:02:09 +0000 (06:02 -0600)]
Improve authentication documentation formatting

2 years agoMerge pull request #1805 from kyeb/kyeb/auth-docs-get-access-token
Harmon [Mon, 7 Feb 2022 11:56:45 +0000 (05:56 -0600)]
Merge pull request #1805 from kyeb/kyeb/auth-docs-get-access-token

Fix 3 typos in auth documentation

2 years agoFix 3 typos in auth documentation
Kye Burchard [Sat, 5 Feb 2022 22:35:10 +0000 (14:35 -0800)]
Fix 3 typos in auth documentation

2 years agoAdd logging documentation
Harmon [Fri, 4 Feb 2022 08:28:02 +0000 (02:28 -0600)]
Add logging documentation

2 years agoRemove debug function
Harmon [Thu, 3 Feb 2022 22:59:15 +0000 (16:59 -0600)]
Remove debug function

2 years agoMerge pull request #1793 from jacob1421/fix-time-parsing
Harmon [Sat, 29 Jan 2022 17:37:54 +0000 (11:37 -0600)]
Merge pull request #1793 from jacob1421/fix-time-parsing

Fixed date formatting for datetime objects

2 years agoImprove Korean translation file titles
Harmon [Sat, 29 Jan 2022 17:17:37 +0000 (11:17 -0600)]
Improve Korean translation file titles

2 years agoRemove Korean translation of Authentication Tutorial
Harmon [Sat, 29 Jan 2022 17:14:14 +0000 (11:14 -0600)]
Remove Korean translation of Authentication Tutorial

2 years agoMerge pull request #1763 from pinkrabbit412/master
Harmon [Sat, 29 Jan 2022 17:05:20 +0000 (11:05 -0600)]
Merge pull request #1763 from pinkrabbit412/master

Added new version of Korean translations for document, and some Miscellaneous changes!

2 years agoUpdated Korean locale .po file.
악동분홍토끼 [Sat, 29 Jan 2022 05:30:36 +0000 (14:30 +0900)]
Updated Korean locale .po file.

Updated Korean locale .po file.
1. Wrote some descriptive title.
2. Changed copyright year 2021 to 2022.
3. Wrote first author(translator).

2 years agoRemoved krHTML_autoBuild.bat
악동분홍토끼 [Fri, 28 Jan 2022 06:34:07 +0000 (15:34 +0900)]
Removed krHTML_autoBuild.bat

Removed unnecessary file.
- krHTML_autoBuild.bat

2 years agoReverted the Polish translation .po files to the previous version.
악동분홍토끼 [Fri, 28 Jan 2022 06:00:28 +0000 (15:00 +0900)]
Reverted the Polish translation .po files to the previous version.

Reverting the Polish translation .po files to the previous version.
This problems caused by Sphinx document builder.

2 years agoMerge branch 'tweepy:master' into master
악동분홍토끼 [Fri, 28 Jan 2022 05:49:29 +0000 (14:49 +0900)]
Merge branch 'tweepy:master' into master

2 years agoFixed date formatting for datetime objects
Jacob Bremiller [Thu, 27 Jan 2022 22:21:14 +0000 (16:21 -0600)]
Fixed date formatting for datetime objects

https://docs.tweepy.org/en/stable/client.html

Required Format:
YYYY-MM-DDTHH:mm:ssZ (ISO 8601/RFC 3339)

Docs are already updated with correct details. "Please note that this parameter does not support a millisecond value."

2 years agoAdd note about OAuth1UserHandler callback parameter in v4.5.0 changelog
Harmon [Tue, 25 Jan 2022 02:07:49 +0000 (20:07 -0600)]
Add note about OAuth1UserHandler callback parameter in v4.5.0 changelog

2 years agoRelease v4.5.0
Harmon [Tue, 25 Jan 2022 00:48:59 +0000 (18:48 -0600)]
Release v4.5.0

2 years agoAdd changelog for version 4.5.0
Harmon [Tue, 25 Jan 2022 00:43:21 +0000 (18:43 -0600)]
Add changelog for version 4.5.0

2 years agoSome Correction for Korean translation files what I've missed.
악동분홍토끼 [Tue, 11 Jan 2022 06:00:11 +0000 (15:00 +0900)]
Some Correction for Korean translation files what I've missed.

1. Some Correction for Korean translation files what I've missed(Removed "#, fuzzy", hyperlink typo).

2 years agoAdditional translations for new/modified files.
악동분홍토끼 [Tue, 11 Jan 2022 05:50:04 +0000 (14:50 +0900)]
Additional translations for new/modified files.

1. Additional translations for new/modified files (authentication.po, getting_started.po).

2 years agoMerge branch 'tweepy:master' into master
악동분홍토끼 [Sun, 9 Jan 2022 16:30:08 +0000 (01:30 +0900)]
Merge branch 'tweepy:master' into master