tweepy.git
7 years agoAdded the possibility of checking equality between users using the unique `id`s.
garos [Thu, 5 Oct 2017 06:52:33 +0000 (08:52 +0200)]
Added the possibility of checking equality between users using the unique `id`s.

7 years agoMerge pull request #736 from legokichi/issue735
Aaron Hill [Sat, 16 Sep 2017 22:31:49 +0000 (18:31 -0400)]
Merge pull request #736 from legokichi/issue735

Issue735

7 years agoMerge pull request #896 from jmartone/patch-1
Aaron Hill [Tue, 11 Jul 2017 01:37:54 +0000 (21:37 -0400)]
Merge pull request #896 from jmartone/patch-1

Handles blank keep-alive new lines

7 years agoHandles blank keep-alive new lines
Josh Martone [Thu, 15 Jun 2017 18:59:45 +0000 (14:59 -0400)]
Handles blank keep-alive new lines

Added .strip() to read_line() to handle keep-alive new lines

7 years agoMerge pull request #884 from Moulick/master
Aaron Hill [Fri, 12 May 2017 20:45:31 +0000 (16:45 -0400)]
Merge pull request #884 from Moulick/master

Update README.md

7 years agoUpdate .travis.yml
Moulick Aggarwal [Fri, 12 May 2017 11:48:41 +0000 (17:18 +0530)]
Update .travis.yml

7 years agoUpdate README.md
Moulick Aggarwal [Fri, 12 May 2017 11:43:17 +0000 (17:13 +0530)]
Update README.md

7 years agoMerge pull request #870 from alexanderkoumis/master
Aaron Hill [Thu, 30 Mar 2017 10:37:33 +0000 (06:37 -0400)]
Merge pull request #870 from alexanderkoumis/master

Prevent .strip() from being called on None

7 years agoPrevent .strip() from being called on None
Alexander Koumis [Thu, 30 Mar 2017 04:57:54 +0000 (21:57 -0700)]
Prevent .strip() from being called on None

7 years agoMerge pull request #862 from g33klord/patch-1
Aaron Hill [Sun, 19 Mar 2017 14:58:52 +0000 (10:58 -0400)]
Merge pull request #862 from g33klord/patch-1

removed  exist_friendship method

7 years agoremoved exist_friendship method
g33klord [Sun, 19 Mar 2017 14:34:30 +0000 (20:04 +0530)]
removed  exist_friendship method

v3.5.0 has no exist_friendship method.

7 years agoMerge pull request #855 from BBischof/patch-1
Aaron Hill [Sun, 5 Mar 2017 17:26:38 +0000 (12:26 -0500)]
Merge pull request #855 from BBischof/patch-1

`streamListener.filter(follow=)` expects `[str]`

7 years ago`streamListener.filter(follow=)` expects `[str]`
Bryan [Sun, 5 Mar 2017 08:23:29 +0000 (00:23 -0800)]
`streamListener.filter(follow=)` expects `[str]`

Example shows the list of parameters as `int`s; they should be `str`s.

7 years agoMerge pull request #848 from flinder/master
Aaron Hill [Tue, 21 Feb 2017 22:14:14 +0000 (17:14 -0500)]
Merge pull request #848 from flinder/master

Argument names in documentation don't match for API.statuses_lookup

7 years agoArgument names don't match for API.statuses_lookup
Fridolin Linder [Tue, 21 Feb 2017 20:00:27 +0000 (15:00 -0500)]
Argument names don't match for API.statuses_lookup

in API.statuses_lookup the arguments `id`, and `map` have trailing underscores

7 years agoMerge pull request #740 from flowerncsu/patch-1
Aaron Hill [Thu, 16 Feb 2017 21:35:50 +0000 (16:35 -0500)]
Merge pull request #740 from flowerncsu/patch-1

Added documentation of API.mentions_timeline()

7 years agoMerge pull request #839 from Perados/Perados-patch-1
Aaron Hill [Fri, 3 Feb 2017 19:58:45 +0000 (14:58 -0500)]
Merge pull request #839 from Perados/Perados-patch-1

Fix allowed_param in docstrings in api.py

7 years agoFix allowed_param in docstrings in api.py
Diego Mora Cespedes [Fri, 3 Feb 2017 14:24:47 +0000 (15:24 +0100)]
Fix allowed_param in docstrings in api.py

Some parameters were missing in the docstrings.

7 years agoMerge pull request #831 from fitnr/py3.6
Aaron Hill [Tue, 3 Jan 2017 03:52:10 +0000 (22:52 -0500)]
Merge pull request #831 from fitnr/py3.6

Add Python 3.6 to test suite

7 years agoadd python 3.6 to tests, setup.py, tox
fitnr [Tue, 3 Jan 2017 02:27:45 +0000 (21:27 -0500)]
add python 3.6 to tests, setup.py, tox

7 years agoMerge pull request #827 from mattvenn/master
Aaron Hill [Mon, 26 Dec 2016 16:32:31 +0000 (11:32 -0500)]
Merge pull request #827 from mattvenn/master

add an example of streaming from a specific user

7 years agoadd an example of streaming from a specific user
matt venn [Sun, 25 Dec 2016 22:35:11 +0000 (23:35 +0100)]
add an example of streaming from a specific user

8 years agoMerge pull request #585 from wjt/streaming-docs
Aaron Hill [Sun, 6 Nov 2016 14:04:16 +0000 (09:04 -0500)]
Merge pull request #585 from wjt/streaming-docs

Better documentation for StreamListener.on_error

8 years agoMerge pull request #766 from alsuren/fix-765
Aaron Hill [Sun, 6 Nov 2016 14:01:10 +0000 (09:01 -0500)]
Merge pull request #766 from alsuren/fix-765

Fix bug in JSONParser.parse() which causes it to return None

8 years agoProperly wrap errors from Requests
Aaron Hill [Sun, 6 Nov 2016 13:52:09 +0000 (08:52 -0500)]
Properly wrap errors from Requests

8 years agoMerge pull request #761 from pilbot/feat-140-char-limit
Aaron Hill [Sun, 6 Nov 2016 13:42:08 +0000 (08:42 -0500)]
Merge pull request #761 from pilbot/feat-140-char-limit

Adds `auto_populate_reply_metadata` attribute on status endpoints

8 years agoMerge pull request #739 from tmcarr/tmcarr/example_error
Aaron Hill [Sun, 6 Nov 2016 13:38:52 +0000 (08:38 -0500)]
Merge pull request #739 from tmcarr/tmcarr/example_error

Removing auth.secure = True since it doesnt seem to exist anymore.

8 years agoMerge cache fixes
Aaron Hill [Sun, 6 Nov 2016 13:35:11 +0000 (08:35 -0500)]
Merge cache fixes

8 years agoMerge pull request #717 from elad661/patch-1
Aaron Hill [Sun, 6 Nov 2016 00:29:09 +0000 (20:29 -0400)]
Merge pull request #717 from elad661/patch-1

Fix file size limit for media_upload

8 years agoMerge pull request #744 from fjania/quieter_logging
Aaron Hill [Sun, 6 Nov 2016 00:25:58 +0000 (20:25 -0400)]
Merge pull request #744 from fjania/quieter_logging

Quieter logging

8 years agoMerge pull request #719 from nutztherookie/patch-1
Aaron Hill [Sun, 6 Nov 2016 00:22:48 +0000 (20:22 -0400)]
Merge pull request #719 from nutztherookie/patch-1

py3-ify getting_started.rst

8 years agoMerge pull request #775 from rajasagashe/master
Aaron Hill [Sun, 6 Nov 2016 00:19:29 +0000 (20:19 -0400)]
Merge pull request #775 from rajasagashe/master

Corrected minor typo

8 years agoMerge pull request #799 from vatsalparekh/master
Aaron Hill [Sun, 6 Nov 2016 00:16:29 +0000 (20:16 -0400)]
Merge pull request #799 from vatsalparekh/master

Update in the Documentation about 'oauth_token'

8 years agoMerge pull request #779 from hhromic/proper-logging
Aaron Hill [Sun, 6 Nov 2016 00:11:47 +0000 (20:11 -0400)]
Merge pull request #779 from hhromic/proper-logging

replace raw print() calls with proper logging-based calls

8 years agoRemove accidentally commited debug code
Aaron Hill [Sun, 6 Nov 2016 00:08:39 +0000 (20:08 -0400)]
Remove accidentally commited debug code

8 years agoProperly encode filter_level
Aaron Hill [Sat, 5 Nov 2016 23:46:09 +0000 (19:46 -0400)]
Properly encode filter_level

Closes #782

8 years agoAdd PySocks dependency
Aaron Hill [Sat, 5 Nov 2016 23:36:53 +0000 (19:36 -0400)]
Add PySocks dependency

8 years agoDon't return None from ReadBuffer.read_line and ReadBuffer.read_len
Aaron Hill [Sat, 5 Nov 2016 23:14:01 +0000 (19:14 -0400)]
Don't return None from ReadBuffer.read_line and ReadBuffer.read_len

Closes #698

8 years agoAdd missing import
Aaron Hill [Sat, 5 Nov 2016 23:10:50 +0000 (19:10 -0400)]
Add missing import

8 years agoUpdate streaming tests
Aaron Hill [Sat, 5 Nov 2016 23:08:24 +0000 (19:08 -0400)]
Update streaming tests

8 years agoProperly re-raise exceptions during streaming
Aaron Hill [Sat, 5 Nov 2016 23:08:13 +0000 (19:08 -0400)]
Properly re-raise exceptions during streaming

8 years agoReduce precision of lat/long coords used in testing
Aaron Hill [Sat, 5 Nov 2016 22:12:59 +0000 (18:12 -0400)]
Reduce precision of lat/long coords used in testing

Python 2 truncates earlier than Python 3 when converting floats to a
string, which was causing problems with the cassette recording.

8 years agoEnable pip caching on Travis
Aaron Hill [Sat, 5 Nov 2016 21:55:41 +0000 (17:55 -0400)]
Enable pip caching on Travis

8 years agoUpdate test username
Aaron Hill [Sat, 5 Nov 2016 21:53:52 +0000 (17:53 -0400)]
Update test username

8 years agoCleanup tests and update cassettes
Aaron Hill [Sat, 5 Nov 2016 21:29:00 +0000 (17:29 -0400)]
Cleanup tests and update cassettes

Waiting after API calls is unecessary, so all time.sleep calls (except
ones for testing cache expiration) are removed

8 years agoUpdate API for removal for 'account/update_profile_colors'
Aaron Hill [Sat, 5 Nov 2016 21:28:24 +0000 (17:28 -0400)]
Update API for removal for 'account/update_profile_colors'

8 years agoMerge pull request #806 from fitnr/not-dead-yet
Aaron Hill [Fri, 4 Nov 2016 23:09:26 +0000 (19:09 -0400)]
Merge pull request #806 from fitnr/not-dead-yet

remove "no longer maintained" note

8 years agoDon't sleep when replaying recorded data
Aaron Hill [Fri, 4 Nov 2016 23:06:15 +0000 (19:06 -0400)]
Don't sleep when replaying recorded data

8 years agoUpdate dependencies
Aaron Hill [Fri, 4 Nov 2016 22:40:24 +0000 (18:40 -0400)]
Update dependencies

8 years agoremove "no longer maintained" note
fitnr [Fri, 28 Oct 2016 17:59:39 +0000 (13:59 -0400)]
remove "no longer maintained" note

Fixes #803, relevant to #792

8 years agoRemove links to no longer active discussion forum
Joshua Roesslein [Tue, 18 Oct 2016 06:06:44 +0000 (23:06 -0700)]
Remove links to no longer active discussion forum

8 years agoAdd notice library is no longer maintained
Joshua Roesslein [Tue, 18 Oct 2016 06:05:42 +0000 (23:05 -0700)]
Add notice library is no longer maintained

8 years agoUpdate in the Documentation about 'oauth_token'
Vatsal Parekh [Thu, 13 Oct 2016 16:54:55 +0000 (22:24 +0530)]
Update in the Documentation about 'oauth_token'

8 years agoreplace raw print() calls with proper logging-based calls
Hugo Hromic [Fri, 2 Sep 2016 16:01:35 +0000 (17:01 +0100)]
replace raw print() calls with proper logging-based calls

8 years agoUpdate binder.py
DarkRedman [Sun, 21 Aug 2016 10:44:26 +0000 (12:44 +0200)]
Update binder.py

I fixed `urllib.urlencode` to `urlencode` in line 135

8 years agoFix cache
DarkRedman [Sun, 21 Aug 2016 10:35:06 +0000 (12:35 +0200)]
Fix cache

Fixing the cache key for both get and store methods

8 years agoCorrected minor typo
rajasagashe [Wed, 10 Aug 2016 04:55:54 +0000 (21:55 -0700)]
Corrected minor typo

8 years agoFix bug in JSONParser.parse() which causes it to return None
David Laban [Tue, 26 Jul 2016 14:17:06 +0000 (15:17 +0100)]
Fix bug in JSONParser.parse() which causes it to return None

Re-combine tower-of-ifs into a single if/else.

Fixes #765

8 years agoAdds `auto_populate_reply_metadata` attribute on status endpoints
William Cooke [Tue, 19 Jul 2016 09:24:52 +0000 (10:24 +0100)]
Adds `auto_populate_reply_metadata` attribute on status endpoints

8 years agoQuieter logging
Frank Jania [Fri, 10 Jun 2016 21:45:36 +0000 (17:45 -0400)]
Quieter logging

This feels too deep/verbose to be logged at the `info` level.

8 years agoAdded documentation of API.mentions_timeline()
flowerncsu [Mon, 6 Jun 2016 13:49:13 +0000 (09:49 -0400)]
Added documentation of API.mentions_timeline()

8 years agoRemoving auth.secure = True since it doesnt seem to exist anymore.
Travis Carr [Thu, 2 Jun 2016 16:25:56 +0000 (09:25 -0700)]
Removing auth.secure = True since it doesnt seem to exist anymore.

8 years agoadd unretweet api
legokichi [Tue, 24 May 2016 17:01:21 +0000 (02:01 +0900)]
add unretweet api

8 years agoadd unretweet api
legokichi [Tue, 24 May 2016 16:57:51 +0000 (01:57 +0900)]
add unretweet api

8 years agopy3-ify getting_started.rst
Andreas Nüßlein [Tue, 5 Apr 2016 15:14:41 +0000 (17:14 +0200)]
py3-ify getting_started.rst

.. also still compatible with python2

8 years agoFix file size limit for media_upload
Elad Alfassa [Sun, 3 Apr 2016 15:49:10 +0000 (18:49 +0300)]
Fix file size limit for media_upload

According to https://dev.twitter.com/rest/reference/post/media/upload
the limit of this endpoint is 5MB (which is 4883KiB) per file.

8 years ago3.6.0
Joshua Roesslein [Thu, 3 Mar 2016 20:32:39 +0000 (12:32 -0800)]
3.6.0

8 years agoMerge pull request #677 from msaunby/patch-1
Joshua Roesslein [Wed, 17 Feb 2016 08:30:45 +0000 (00:30 -0800)]
Merge pull request #677 from msaunby/patch-1

Correct typo at line 69

8 years agoMerge pull request #693 from elahmo/patch-1
Joshua Roesslein [Wed, 17 Feb 2016 08:29:31 +0000 (00:29 -0800)]
Merge pull request #693 from elahmo/patch-1

Added in_reply_to_status_id_str to allowed parameters

8 years agoMerge pull request #701 from drevicko/stall-warnings-for-sample
Joshua Roesslein [Wed, 17 Feb 2016 08:28:00 +0000 (00:28 -0800)]
Merge pull request #701 from drevicko/stall-warnings-for-sample

Added stall_warnings parameter support to sample()

8 years agoMerge pull request #633 from Pietro210/parse-quoted-status
Joshua Roesslein [Wed, 17 Feb 2016 08:23:38 +0000 (00:23 -0800)]
Merge pull request #633 from Pietro210/parse-quoted-status

Parse quoted_status dict to Status object

8 years agoAdded stall_warnings parameter support to sample()
drevicko [Wed, 10 Feb 2016 17:42:00 +0000 (17:42 +0000)]
Added stall_warnings parameter support to sample()

Currently the stall_warnings parameter is unavailable for the sample endpoint.

8 years agoMerge pull request #695 from orarbel/orarbel-patch-1
Joshua Roesslein [Fri, 5 Feb 2016 22:35:28 +0000 (14:35 -0800)]
Merge pull request #695 from orarbel/orarbel-patch-1

'MyStreamListener' object is not callable"

8 years agoMerge pull request #700 from remram44/doc-badge
Joshua Roesslein [Fri, 5 Feb 2016 22:33:32 +0000 (14:33 -0800)]
Merge pull request #700 from remram44/doc-badge

Update doc version in README

8 years agoUpdate doc version in README
Remi Rampin [Fri, 5 Feb 2016 19:01:57 +0000 (14:01 -0500)]
Update doc version in README

8 years ago'MyStreamListener' object is not callable"
Or Arbel [Wed, 20 Jan 2016 03:19:51 +0000 (19:19 -0800)]
'MyStreamListener' object is not callable"

Fix for "TypeError: 'MyStreamListener' object is not callable"

8 years agoAdded in_reply_to_status_id_str to allowed parameters
Ahmet Novalić [Wed, 6 Jan 2016 12:08:54 +0000 (13:08 +0100)]
Added in_reply_to_status_id_str to allowed parameters

Python has issues representing status IDs with integers, so this will solve an issue when replying to tweets.
More info at https://dev.twitter.com/overview/api/tweets

8 years agoCorrect typo at line 69
Michael Saunby [Tue, 24 Nov 2015 10:57:42 +0000 (10:57 +0000)]
Correct typo at line 69

8 years ago3.5.0
Joshua Roesslein [Fri, 20 Nov 2015 05:42:25 +0000 (21:42 -0800)]
3.5.0

9 years agoMerge pull request #666 from tjphopkins/new_api_codes
Joshua Roesslein [Tue, 10 Nov 2015 08:54:09 +0000 (00:54 -0800)]
Merge pull request #666 from tjphopkins/new_api_codes

Explicitly return api code when parsing error

9 years agoExplicitly return api code when parsing error
tjphopkins [Tue, 3 Nov 2015 11:40:18 +0000 (11:40 +0000)]
Explicitly return api code when parsing error

9 years agoMerge pull request #583 from kimtree/clean-up-code
Joshua Roesslein [Thu, 5 Nov 2015 04:55:45 +0000 (20:55 -0800)]
Merge pull request #583 from kimtree/clean-up-code

Remove deprecated function and clean up codes

9 years agoRelease on tags
Joshua Roesslein [Thu, 5 Nov 2015 04:54:21 +0000 (20:54 -0800)]
Release on tags

9 years agoMerge pull request #667 from aymericderbois/master
Joshua Roesslein [Thu, 5 Nov 2015 04:52:50 +0000 (20:52 -0800)]
Merge pull request #667 from aymericderbois/master

Fix duplicate raise in auth.py

9 years agoFix duplicate raise in auth.py
Aymeric Derbois [Wed, 4 Nov 2015 20:30:42 +0000 (21:30 +0100)]
Fix duplicate raise in auth.py

9 years agoMerge pull request #653 from hugovk/travis_python_versions
Joshua Roesslein [Tue, 3 Nov 2015 03:16:13 +0000 (19:16 -0800)]
Merge pull request #653 from hugovk/travis_python_versions

Python 3.5 is out

9 years agoMerge pull request #658 from wjt/streaming-ReadBuffer-py3-pr-635
Joshua Roesslein [Tue, 3 Nov 2015 03:15:35 +0000 (19:15 -0800)]
Merge pull request #658 from wjt/streaming-ReadBuffer-py3-pr-635

Test case for PR #635 (and bug #615)

9 years agoMerge pull request #662 from rother/master
Joshua Roesslein [Tue, 3 Nov 2015 03:13:10 +0000 (19:13 -0800)]
Merge pull request #662 from rother/master

Slight correction of a comment in the examples.

9 years agoMerge pull request #663 from obskyr/docs-streaming-insert
Joshua Roesslein [Tue, 3 Nov 2015 03:12:51 +0000 (19:12 -0800)]
Merge pull request #663 from obskyr/docs-streaming-insert

Added streaming_how_to.rst to the docs index.

9 years agoMerge pull request #664 from tjphopkins/full_text
Joshua Roesslein [Tue, 3 Nov 2015 03:12:12 +0000 (19:12 -0800)]
Merge pull request #664 from tjphopkins/full_text

Allow 'full_text' param when getting direct messages

9 years agoAllow 'full_text' param when getting direct messages
tjphopkins [Fri, 30 Oct 2015 15:12:39 +0000 (15:12 +0000)]
Allow 'full_text' param when getting direct messages

9 years agoAdded streaming_how_to.rst to the docs index.
obskyr [Sat, 31 Oct 2015 09:20:53 +0000 (10:20 +0100)]
Added streaming_how_to.rst to the docs index.

9 years agoUpdate streaming.py
Kristian Rother [Fri, 30 Oct 2015 12:01:48 +0000 (13:01 +0100)]
Update streaming.py

9 years agoAdded snippet for handling rate limit using cursors.
obskyr [Thu, 15 Oct 2015 13:54:40 +0000 (15:54 +0200)]
Added snippet for handling rate limit using cursors.

9 years agoAdded documentation for exceptions.
obskyr [Thu, 15 Oct 2015 13:50:30 +0000 (15:50 +0200)]
Added documentation for exceptions.

9 years agoFix ReadBuffer tests to run and test the right things
Will Thompson [Tue, 6 Oct 2015 22:14:55 +0000 (23:14 +0100)]
Fix ReadBuffer tests to run and test the right things

Without 'Test' in the class name, the test did not run at all. It would
have caught #615.

StringIO.closed is not assignable under Python 3, but we can just
close() the fake stream to make it True.

Reading from response.raw gives back bytes, not unicode, so the fake
stream in the test case should do the same.

And finally, ReadBuffer itself yields unicode, not UTF-8-encoded bytes.

See https://github.com/tweepy/tweepy/pull/635 for the actual fix that
this tests.

9 years agoTests pass on 2.6, 3.3, 3.5
hugovk [Tue, 15 Sep 2015 07:21:58 +0000 (10:21 +0300)]
Tests pass on 2.6, 3.3, 3.5

9 years agoAlso test Python 2.6, 3.3, 3.5
hugovk [Tue, 15 Sep 2015 07:15:24 +0000 (10:15 +0300)]
Also test Python 2.6, 3.3, 3.5

9 years agoMerge pull request #578 from wjt/update_status-positional
Joshua Roesslein [Wed, 19 Aug 2015 16:04:59 +0000 (09:04 -0700)]
Merge pull request #578 from wjt/update_status-positional

update_status: first positional argument should be 'status'

9 years agoInstall twine before deploy.
Joshua Roesslein [Fri, 14 Aug 2015 00:26:08 +0000 (17:26 -0700)]
Install twine before deploy.