tweepy.git
5 years agoStandardize inline comment spacing in API tests
Harmon [Sat, 13 Jul 2019 01:21:41 +0000 (20:21 -0500)]
Standardize inline comment spacing in API tests

5 years agoRemove methods using deprecated GET users/suggestions endpoints
Harmon [Sat, 13 Jul 2019 01:03:33 +0000 (20:03 -0500)]
Remove methods using deprecated GET users/suggestions endpoints

This removes API.suggested_categories, API.suggested_users, and API.suggested_users_tweets, as the endpoints these methods use are now deprecated, return a 410 Gone error since June 30, 2019, and should no longer be used.
This also removes the corresponding tests and cassettes and the now obsolete Category model.

Reference:
https://twittercommunity.com/t/upcoming-changes-to-user-object-and-get-users-suggestions-endpoints/124732

5 years agoClose Requests sessions
Harmon [Tue, 9 Jul 2019 19:50:34 +0000 (14:50 -0500)]
Close Requests sessions

Fixes #810
Fixes #1093
Resolves #1237

5 years agoCorrect documentation for API.update_status
Harmon [Sat, 6 Jul 2019 20:24:12 +0000 (15:24 -0500)]
Correct documentation for API.update_status

Fixes #1235

5 years agoUpdate documentation for API.update_list
Harmon [Tue, 2 Jul 2019 00:31:54 +0000 (19:31 -0500)]
Update documentation for API.update_list

5 years agoUpdate documentation for API.destroy_list
Harmon [Tue, 2 Jul 2019 00:21:51 +0000 (19:21 -0500)]
Update documentation for API.destroy_list

5 years agoMerge pull request #1169 from HenriqueHott/master
Harmon [Wed, 26 Jun 2019 00:14:29 +0000 (19:14 -0500)]
Merge pull request #1169 from HenriqueHott/master

Added _json attribute to Models: List, Friendship and Category

5 years agoAdd spaces after commas
Harmon [Wed, 26 Jun 2019 00:06:01 +0000 (19:06 -0500)]
Add spaces after commas

5 years agoRemove unnecessary whitespace changes
Harmon [Wed, 26 Jun 2019 00:04:39 +0000 (19:04 -0500)]
Remove unnecessary whitespace changes

5 years agoMerge pull request #1227 from kylepw/appauth
Harmon [Fri, 21 Jun 2019 20:43:27 +0000 (15:43 -0500)]
Merge pull request #1227 from kylepw/appauth

Add tweepy.AppAuthHandler documentation

5 years agoMerge pull request #939 from gardir/master
Harmon [Fri, 21 Jun 2019 20:30:06 +0000 (15:30 -0500)]
Merge pull request #939 from gardir/master

Added possibility to compare `eq` and `ne` between users, using the unique `id`s.

5 years agoExclude Python 3.4 from setup python_requires
Harmon [Fri, 21 Jun 2019 19:22:45 +0000 (14:22 -0500)]
Exclude Python 3.4 from setup python_requires

5 years agoInclude resultset tests in CI
Harmon [Fri, 21 Jun 2019 19:10:13 +0000 (14:10 -0500)]
Include resultset tests in CI

5 years agoFix resultset tests
Harmon [Fri, 21 Jun 2019 19:07:28 +0000 (14:07 -0500)]
Fix resultset tests

5 years agoUpdate auth tests to be compatible with Python 3
Harmon [Fri, 21 Jun 2019 19:00:06 +0000 (14:00 -0500)]
Update auth tests to be compatible with Python 3

5 years agoImprove import organization
Harmon [Fri, 21 Jun 2019 18:49:12 +0000 (13:49 -0500)]
Improve import organization

5 years agoReplace deprecated assert_ in tests
Harmon [Fri, 21 Jun 2019 18:41:36 +0000 (13:41 -0500)]
Replace deprecated assert_ in tests

With assertTrue
https://docs.python.org/3/library/unittest.html#deprecated-aliases

5 years agoReplace deprecated assertEquals in tests
Harmon [Fri, 21 Jun 2019 18:38:41 +0000 (13:38 -0500)]
Replace deprecated assertEquals in tests

With assertEqual
https://docs.python.org/3/library/unittest.html#deprecated-aliases

5 years agoAdd tweepy.AppAuthHandler documentation.
Kyle [Fri, 21 Jun 2019 11:53:24 +0000 (20:53 +0900)]
Add tweepy.AppAuthHandler documentation.

5 years agoGet loggers through implicit module names
Harmon [Wed, 12 Jun 2019 08:07:32 +0000 (03:07 -0500)]
Get loggers through implicit module names

5 years agoReplace usage of root logger
Harmon [Wed, 12 Jun 2019 08:06:23 +0000 (03:06 -0500)]
Replace usage of root logger

5 years agoRemove unnecessary type cast when logging unknown streaming message type
Harmon [Sat, 8 Jun 2019 00:51:41 +0000 (19:51 -0500)]
Remove unnecessary type cast when logging unknown streaming message type

5 years agoMerge pull request #886 from sjhewitt/streaming-events
Harmon [Sat, 8 Jun 2019 00:46:58 +0000 (19:46 -0500)]
Merge pull request #886 from sjhewitt/streaming-events

handle scrub_geo, status_withheld and user_withheld streaming events

5 years agoRemove outdated allowed parameters for API.search
Harmon [Thu, 6 Jun 2019 04:30:58 +0000 (23:30 -0500)]
Remove outdated allowed parameters for API.search

5 years agoUpdate documentation for API.search
Harmon [Thu, 6 Jun 2019 04:21:48 +0000 (23:21 -0500)]
Update documentation for API.search

Resolves #1199

5 years agoAdd documentation for API.remove_list_members
Harmon [Thu, 6 Jun 2019 03:41:53 +0000 (22:41 -0500)]
Add documentation for API.remove_list_members

5 years agoUpdate documentation for API.add_list_member
Harmon [Thu, 6 Jun 2019 03:34:14 +0000 (22:34 -0500)]
Update documentation for API.add_list_member

5 years agoImprove documentation for API.add_list_members
Harmon [Thu, 6 Jun 2019 03:27:38 +0000 (22:27 -0500)]
Improve documentation for API.add_list_members

5 years agoMerge pull request #704 from hugovk/patch-1
Harmon [Thu, 6 Jun 2019 03:18:52 +0000 (22:18 -0500)]
Merge pull request #704 from hugovk/patch-1

[docs] Lists can have 5,000 members

5 years agoUse raw strings for regex patterns
Harmon [Wed, 5 Jun 2019 11:51:05 +0000 (06:51 -0500)]
Use raw strings for regex patterns

5 years agoAdd count as allowed parameter for API.friends
Harmon [Sat, 1 Jun 2019 07:50:50 +0000 (02:50 -0500)]
Add count as allowed parameter for API.friends

5 years agoAdd changelog for version 3.7.0
Harmon [Sat, 1 Jun 2019 03:10:24 +0000 (22:10 -0500)]
Add changelog for version 3.7.0

5 years agoAdd changelog for version 3.6.0
Harmon [Sat, 1 Jun 2019 01:47:23 +0000 (20:47 -0500)]
Add changelog for version 3.6.0

5 years agoAdd v3.4.0 and v3.5.0 to changelog
Harmon [Sat, 1 Jun 2019 00:42:46 +0000 (19:42 -0500)]
Add v3.4.0 and v3.5.0 to changelog

5 years agoAdd @blcksrx to contributors
Harmon [Sat, 25 May 2019 00:33:42 +0000 (19:33 -0500)]
Add @blcksrx to contributors

Per request

5 years agoAdd documentation for API.mutes
Harmon [Fri, 10 May 2019 19:40:15 +0000 (14:40 -0500)]
Add documentation for API.mutes

5 years agoMerge pull request #1215 from blcksrx/mutes
Harmon [Fri, 10 May 2019 19:27:53 +0000 (14:27 -0500)]
Merge pull request #1215 from blcksrx/mutes

Add API.mutes

5 years agofix unvoluntry commit
Sayed Mohammad Hossein Torabi [Fri, 10 May 2019 16:38:25 +0000 (21:08 +0430)]
fix unvoluntry commit

5 years agoAdd API.mutes_list
Sayed Mohammad Hossein Torabi [Fri, 10 May 2019 14:51:43 +0000 (19:21 +0430)]
Add API.mutes_list

5 years agoUpdate friends_timeline to home_timeline in code snippet documentation
Harmon [Wed, 8 May 2019 12:10:48 +0000 (07:10 -0500)]
Update friends_timeline to home_timeline in code snippet documentation

5 years agoUpdate documentation for API.list_members
Harmon [Tue, 7 May 2019 06:48:23 +0000 (01:48 -0500)]
Update documentation for API.list_members

Resolves #738

5 years agoUpdate documentation for API.is_subscribed_list to API.show_list_subscriber
Harmon [Tue, 7 May 2019 06:04:02 +0000 (01:04 -0500)]
Update documentation for API.is_subscribed_list to API.show_list_subscriber

Resolves #1202

5 years agoUpdate documentation for API.get_list
Harmon [Tue, 7 May 2019 05:41:10 +0000 (00:41 -0500)]
Update documentation for API.get_list

Resolves #1201

5 years agoUpdate documentation for API.is_list_member to API.show_list_member
Harmon [Tue, 7 May 2019 05:30:59 +0000 (00:30 -0500)]
Update documentation for API.is_list_member to API.show_list_member

5 years agoOrganize documentation parameters alphabetically
Harmon [Tue, 7 May 2019 05:21:47 +0000 (00:21 -0500)]
Organize documentation parameters alphabetically

5 years agoCorrect documentation for API.report_spam
Harmon [Tue, 7 May 2019 01:11:47 +0000 (20:11 -0500)]
Correct documentation for API.report_spam

5 years agoMerge pull request #1090 from shuuji3/add-support-report_spam-perform_block-param
Harmon [Tue, 7 May 2019 01:05:37 +0000 (20:05 -0500)]
Merge pull request #1090 from shuuji3/add-support-report_spam-perform_block-param

Add a support of the 'perform_block' param for api.report_spam() method

5 years agoUpdate documentation for API.create_list
Harmon [Sun, 5 May 2019 23:48:56 +0000 (18:48 -0500)]
Update documentation for API.create_list

5 years agoMerge pull request #904 from Prakash2403/patch-1
Harmon [Sun, 5 May 2019 23:40:46 +0000 (18:40 -0500)]
Merge pull request #904 from Prakash2403/patch-1

Added missing return keyword

5 years agoDrop support for Python 3.4
Harmon [Sat, 4 May 2019 18:40:34 +0000 (13:40 -0500)]
Drop support for Python 3.4

Python 3.4 has now reached its end-of-life and has been retired.
https://www.python.org/dev/peps/pep-0429/

5 years agoUpdate setup Development Status classifier
Harmon [Sat, 4 May 2019 18:28:53 +0000 (13:28 -0500)]
Update setup Development Status classifier

5 years agoChange API.mutes_ids payload type to ids
Harmon [Sat, 4 May 2019 09:47:15 +0000 (04:47 -0500)]
Change API.mutes_ids payload type to ids

5 years agoMerge pull request #931 from codingcatgirl/patch-1
Harmon [Sat, 4 May 2019 09:44:13 +0000 (04:44 -0500)]
Merge pull request #931 from codingcatgirl/patch-1

Change API.blocks_ids payload type to ids

5 years agoMerge branch 'master' into patch-1
Harmon [Sat, 4 May 2019 09:33:13 +0000 (04:33 -0500)]
Merge branch 'master' into patch-1

5 years agoMerge pull request #1208 from okomarov/feature/add_cursor_option
Harmon [Sat, 4 May 2019 09:29:24 +0000 (04:29 -0500)]
Merge pull request #1208 from okomarov/feature/add_cursor_option

Add cursor param to blocks_ids and mutes_ids

5 years agoAdd cursor option to blocks_ids and mutes_ids
Oleg Komarov [Sat, 4 May 2019 08:21:25 +0000 (10:21 +0200)]
Add cursor option to blocks_ids and mutes_ids

5 years agoRemove deprecated sudo keyword from Travis CI configuration
Harmon [Sat, 4 May 2019 07:20:29 +0000 (02:20 -0500)]
Remove deprecated sudo keyword from Travis CI configuration

https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

5 years agoAdd Python 3.7 to Travis CI
Harmon [Sat, 4 May 2019 07:16:47 +0000 (02:16 -0500)]
Add Python 3.7 to Travis CI

5 years agoAdd Python 3.7 to tox configuration
Harmon [Sat, 4 May 2019 07:15:36 +0000 (02:15 -0500)]
Add Python 3.7 to tox configuration

5 years agoAdd Python 3.7 to setup classifiers
Harmon [Sat, 4 May 2019 07:14:56 +0000 (02:14 -0500)]
Add Python 3.7 to setup classifiers

5 years agoUpdate vcrpy version in tox configuration to match test requirements
Harmon [Sat, 4 May 2019 07:02:53 +0000 (02:02 -0500)]
Update vcrpy version in tox configuration to match test requirements

5 years agoImprove tox configuration deps order
Harmon [Sat, 4 May 2019 07:02:00 +0000 (02:02 -0500)]
Improve tox configuration deps order

5 years agoImprove setup install_requires order
Harmon [Sat, 4 May 2019 07:00:58 +0000 (02:00 -0500)]
Improve setup install_requires order

5 years agoAdd nose to test requirements
Harmon [Sat, 4 May 2019 06:57:25 +0000 (01:57 -0500)]
Add nose to test requirements

5 years agoImprove test requirements order
Harmon [Sat, 4 May 2019 06:56:53 +0000 (01:56 -0500)]
Improve test requirements order

5 years agoImprove import organization
Harmon [Sat, 4 May 2019 06:37:16 +0000 (01:37 -0500)]
Improve import organization

5 years agoRemove unnecessary uuid import from setup
Harmon [Sat, 4 May 2019 05:44:08 +0000 (00:44 -0500)]
Remove unnecessary uuid import from setup

5 years agoRemove unnecessary print_function imports
Harmon [Sat, 4 May 2019 05:34:46 +0000 (00:34 -0500)]
Remove unnecessary print_function imports

5 years agoMerge pull request #832 from fitnr/json
Harmon [Sat, 4 May 2019 05:24:31 +0000 (00:24 -0500)]
Merge pull request #832 from fitnr/json

Use built in json library

5 years agoUpdate license and copyright years
Harmon [Sat, 4 May 2019 05:11:51 +0000 (00:11 -0500)]
Update license and copyright years

5 years agoFix super usage in TweepError initialization
Harmon [Sat, 4 May 2019 04:58:08 +0000 (23:58 -0500)]
Fix super usage in TweepError initialization

5 years agoUse super in TweepError initialization
Harmon [Sat, 4 May 2019 04:46:22 +0000 (23:46 -0500)]
Use super in TweepError initialization

5 years agoHandle map_ parameter for API.statuses_lookup
Harmon [Sat, 4 May 2019 04:19:27 +0000 (23:19 -0500)]
Handle map_ parameter for API.statuses_lookup

Fixes #598

5 years agoUpdate documentation for API.trends_place
Harmon [Fri, 3 May 2019 21:18:55 +0000 (16:18 -0500)]
Update documentation for API.trends_place

5 years agoDocument Mute Methods
Harmon [Fri, 3 May 2019 05:48:28 +0000 (00:48 -0500)]
Document Mute Methods

Document API.create_mute, API.destroy_mute, API.mutes_ids
Resolves #1196

5 years agoRemove API.set_delivery_device
Harmon [Fri, 3 May 2019 03:22:39 +0000 (22:22 -0500)]
Remove API.set_delivery_device

Resolves #1203

5 years agoRemove documentation for API.update_profile_colors
Harmon [Wed, 1 May 2019 05:01:17 +0000 (00:01 -0500)]
Remove documentation for API.update_profile_colors

Resolves #1035

5 years agoUpdate documentation for API.followers
Harmon [Wed, 1 May 2019 03:27:01 +0000 (22:27 -0500)]
Update documentation for API.followers

Resolves #1015

5 years agoDocument API.retweeters
Harmon [Tue, 30 Apr 2019 04:25:10 +0000 (23:25 -0500)]
Document API.retweeters

Resolves #1200

5 years agoReorganize CONTRIBUTORS alphabetically
Harmon [Sun, 28 Apr 2019 05:01:38 +0000 (00:01 -0500)]
Reorganize CONTRIBUTORS alphabetically

5 years agoAdd skip_status and include_user_entities to documented parameters
Harmon [Sun, 28 Apr 2019 01:23:39 +0000 (20:23 -0500)]
Add skip_status and include_user_entities to documented parameters

5 years agoDocument API.unretweet
Harmon [Sun, 28 Apr 2019 01:14:35 +0000 (20:14 -0500)]
Document API.unretweet

Resolves #1195

5 years agoFix missing space in API.friends documentation
Harmon [Sat, 27 Apr 2019 01:50:27 +0000 (20:50 -0500)]
Fix missing space in API.friends documentation

5 years agoMerge branch 'master' into json
Harmon [Fri, 26 Apr 2019 04:41:04 +0000 (23:41 -0500)]
Merge branch 'master' into json

5 years agoMerge branch 'master' into add-support-report_spam-perform_block-param
Harmon [Thu, 25 Apr 2019 21:30:36 +0000 (16:30 -0500)]
Merge branch 'master' into add-support-report_spam-perform_block-param

5 years agoMerge branch 'master' into patch-1
Harmon [Thu, 25 Apr 2019 07:12:55 +0000 (02:12 -0500)]
Merge branch 'master' into patch-1

5 years agoMerge pull request #1189 from abhi-jha/master
Harmon [Thu, 25 Apr 2019 04:15:16 +0000 (23:15 -0500)]
Merge pull request #1189 from abhi-jha/master

Fix spelling mistake in ReadBuffer docstring

5 years agoMerge pull request #822 from avikantz/master
Harmon [Thu, 25 Apr 2019 04:12:33 +0000 (23:12 -0500)]
Merge pull request #822 from avikantz/master

Update documentation to reflect API.lists method rename to API.lists_all

5 years agoFix spelling
abhi-jha [Wed, 10 Apr 2019 03:33:34 +0000 (09:03 +0530)]
Fix spelling

5 years agoMerge pull request #1126 from mmontagna/master
Joshua Roesslein [Wed, 20 Mar 2019 04:56:03 +0000 (21:56 -0700)]
Merge pull request #1126 from mmontagna/master

Allow optionally setting daemon flag on async threads.

5 years agoMerge pull request #1138 from Harmon758/cursor-tutorial-fixes
Joshua Roesslein [Wed, 20 Mar 2019 04:54:41 +0000 (21:54 -0700)]
Merge pull request #1138 from Harmon758/cursor-tutorial-fixes

Fix Cursor Tutorial documentation

5 years agoMerge pull request #1146 from arska/patch-1
Joshua Roesslein [Wed, 20 Mar 2019 04:54:08 +0000 (21:54 -0700)]
Merge pull request #1146 from arska/patch-1

correct the tutorial to save the oauth_token

5 years agoMerge pull request #1143 from cclauss/patch-1
Joshua Roesslein [Wed, 20 Mar 2019 04:47:57 +0000 (21:47 -0700)]
Merge pull request #1143 from cclauss/patch-1

streaming_how_to.rst: 'async' --> 'is_async' for Python 3.7

5 years agoMerge pull request #1149 from onhernandes/bugfix/request_token
Joshua Roesslein [Wed, 20 Mar 2019 04:41:57 +0000 (21:41 -0700)]
Merge pull request #1149 from onhernandes/bugfix/request_token

Fix request_token not defined when not calling get_authorization_url

5 years agoMerge pull request #1165 from qqhann/patch-1
Joshua Roesslein [Wed, 20 Mar 2019 04:39:12 +0000 (21:39 -0700)]
Merge pull request #1165 from qqhann/patch-1

Update api.rst

5 years agoMerge pull request #1071 from Harmon758/twitter-devs-references-update
Joshua Roesslein [Wed, 20 Mar 2019 04:36:05 +0000 (21:36 -0700)]
Merge pull request #1071 from Harmon758/twitter-devs-references-update

Update Twitter Developers API reference links

5 years agoMerge pull request #1164 from PaperBag42/fix/1141-no-install-examples
Joshua Roesslein [Wed, 20 Mar 2019 04:35:13 +0000 (21:35 -0700)]
Merge pull request #1164 from PaperBag42/fix/1141-no-install-examples

Prevent installation of examples

5 years agoMerge pull request #1176 from samilaine/master
Joshua Roesslein [Wed, 20 Mar 2019 04:33:56 +0000 (21:33 -0700)]
Merge pull request #1176 from samilaine/master

docs/api.rst: update_status now reflects the code

5 years agodocs/api.rst: update_status now reflects the code
Sami Laine [Thu, 28 Feb 2019 13:48:33 +0000 (15:48 +0200)]
docs/api.rst: update_status now reflects the code

5 years agoMerge branch 'master' into twitter-devs-references-update
Harmon [Mon, 4 Feb 2019 06:33:06 +0000 (00:33 -0600)]
Merge branch 'master' into twitter-devs-references-update