tweepy.git
9 years agoAdd streaming_how_to.rst. A high level tutorial for getting started with streaming.
grocerheist [Wed, 31 Dec 2014 20:59:26 +0000 (12:59 -0800)]
Add streaming_how_to.rst. A high level tutorial for getting started with streaming.

10 years agoMerge pull request #508 from judy2k/setup-classifiers
Aaron1011 [Sat, 15 Nov 2014 15:08:09 +0000 (10:08 -0500)]
Merge pull request #508 from judy2k/setup-classifiers

Classify tweepy.

10 years agoClassify tweepy.
Mark Smith [Sat, 15 Nov 2014 13:47:52 +0000 (14:47 +0100)]
Classify tweepy.

10 years agoMerge pull request #507 from judy2k/python3-tox-vcrpy-squash
Aaron1011 [Sat, 15 Nov 2014 13:32:39 +0000 (08:32 -0500)]
Merge pull request #507 from judy2k/python3-tox-vcrpy-squash

Port to Python 3.3+

10 years agoPort to Python 3.3+
Mark Smith [Sat, 15 Nov 2014 13:10:41 +0000 (14:10 +0100)]
Port to Python 3.3+

10 years agoMerge pull request #505 from joausaga/master
Aaron1011 [Wed, 12 Nov 2014 19:54:24 +0000 (14:54 -0500)]
Merge pull request #505 from joausaga/master

Modify on_data method of StreamListener to process warning messages

10 years agoExtend on_data method by including a conditional to process warning messages and...
joausaga [Wed, 12 Nov 2014 11:05:52 +0000 (12:05 +0100)]
Extend on_data method by including a conditional to process warning messages and add the definition of the method to manage those warning messages

10 years agoMerge pull request #502 from JulienPalard/patch-1
Aaron1011 [Sun, 2 Nov 2014 17:52:26 +0000 (12:52 -0500)]
Merge pull request #502 from JulienPalard/patch-1

FIX: To create an app it's not dev.twitter.com but apps.twitter.com

10 years agoFIX: To create an app it's not dev.twitter.com but apps.twitter.com
Julien [Sun, 2 Nov 2014 15:20:04 +0000 (16:20 +0100)]
FIX: To create an app it's not dev.twitter.com but apps.twitter.com

10 years agoRevert "Treat IncompleteRead as a disconnect or timeout, and reconnect."
Aaron Hill [Thu, 30 Oct 2014 18:49:13 +0000 (14:49 -0400)]
Revert "Treat IncompleteRead as a disconnect or timeout, and reconnect."

This reverts commit c841a09a0a05b27979a5768274735d6fde184ea2.

10 years agoMerge pull request #500 from rother/master
Aaron1011 [Tue, 28 Oct 2014 18:46:02 +0000 (14:46 -0400)]
Merge pull request #500 from rother/master

Update api.rst

10 years agoMerge pull request #496 from tewalds/buffer
Joshua Roesslein [Sat, 25 Oct 2014 04:30:08 +0000 (21:30 -0700)]
Merge pull request #496 from tewalds/buffer

Add a read buffer so that tweepy does fewer socket.read calls.

10 years agoMerge pull request #499 from tewalds/unescape
Aaron1011 [Thu, 23 Oct 2014 23:12:23 +0000 (19:12 -0400)]
Merge pull request #499 from tewalds/unescape

Revert "Unescape stream data from Twitter"

10 years agoRevert "Unescape stream data from Twitter"
Timo Ewalds [Thu, 23 Oct 2014 21:24:33 +0000 (17:24 -0400)]
Revert "Unescape stream data from Twitter"

This reverts commit 09e29c815bd21514ec62df2cd8e8d176678bee40 and fixes https://github.com/tweepy/tweepy/issues/495

10 years agoUpdate api.rst
rother [Wed, 22 Oct 2014 08:25:27 +0000 (10:25 +0200)]
Update api.rst

Added missing since_id parameter for search()

10 years agoMerge pull request #498 from tewalds/incompleteread
Aaron1011 [Wed, 22 Oct 2014 01:34:49 +0000 (21:34 -0400)]
Merge pull request #498 from tewalds/incompleteread

Treat IncompleteRead as a disconnect or timeout, and reconnect.

10 years agoTreat IncompleteRead as a disconnect or timeout, and reconnect.
Timo Ewalds [Wed, 22 Oct 2014 00:18:09 +0000 (20:18 -0400)]
Treat IncompleteRead as a disconnect or timeout, and reconnect.

10 years agoAdd ReadBuffer unit tests.
Timo Ewalds [Wed, 22 Oct 2014 00:10:05 +0000 (20:10 -0400)]
Add ReadBuffer unit tests.

10 years agoAdd a read buffer so that tweepy does fewer socket.read calls, which are expensive...
Timo Ewalds [Mon, 20 Oct 2014 22:33:43 +0000 (18:33 -0400)]
Add a read buffer so that tweepy does fewer socket.read calls, which are expensive on GAE.

10 years agoMerge pull request #494 from jozef-mitro/master
Aaron1011 [Sun, 12 Oct 2014 14:01:52 +0000 (10:01 -0400)]
Merge pull request #494 from jozef-mitro/master

Fix sample to use Requests instead of httplib

10 years agoFix sample to use Requests instead of httplib
jozef-mitro [Sun, 12 Oct 2014 13:31:28 +0000 (15:31 +0200)]
Fix sample to use Requests instead of httplib

10 years agoMerge pull request #492 from Kjwon15/compare-status
Aaron1011 [Fri, 10 Oct 2014 18:59:09 +0000 (14:59 -0400)]
Merge pull request #492 from Kjwon15/compare-status

Comparison between Status object

10 years agoAdd __ne__ method for tweepy.models.Status
kjwon15 [Fri, 10 Oct 2014 15:24:49 +0000 (00:24 +0900)]
Add __ne__ method for tweepy.models.Status

10 years agoComparison between Status object
kjwon15 [Fri, 10 Oct 2014 15:19:03 +0000 (00:19 +0900)]
Comparison between Status object

10 years agoMerge pull request #491 from prabeesh/master
Aaron1011 [Thu, 9 Oct 2014 10:14:38 +0000 (06:14 -0400)]
Merge pull request #491 from prabeesh/master

Fix AttributeError

10 years agoFix AttributeError
Prabeesh K [Thu, 9 Oct 2014 06:31:58 +0000 (10:31 +0400)]
Fix AttributeError

AttributeError: 'Response' object has no attribute 'status'

10 years agoFix __init__.py
Aaron Hill [Thu, 2 Oct 2014 22:57:18 +0000 (18:57 -0400)]
Fix __init__.py

10 years agoMerge pull request #489 from chebee7i/lookup_users
Aaron1011 [Tue, 30 Sep 2014 10:34:53 +0000 (06:34 -0400)]
Merge pull request #489 from chebee7i/lookup_users

Use POST for users/lookup.

10 years agoUse POST for users/lookup.
chebee7i [Tue, 30 Sep 2014 04:48:10 +0000 (23:48 -0500)]
Use POST for users/lookup.

The reference documentation recommends POST rather than GET for
larger requests of user lookups. Also, added an option for
'include_entities'.

10 years agoMerge pull request #486 from muraty/PEP8fix
Aaron1011 [Tue, 23 Sep 2014 18:56:00 +0000 (14:56 -0400)]
Merge pull request #486 from muraty/PEP8fix

Pep8fix

10 years agofix merge conflicts
Omer Murat Yildirim [Tue, 23 Sep 2014 17:31:39 +0000 (20:31 +0300)]
fix merge conflicts

10 years agoMerge branch 'PEP8fix' of https://github.com/muraty/tweepy into PEP8fix
Omer Murat Yildirim [Tue, 23 Sep 2014 17:02:10 +0000 (20:02 +0300)]
Merge branch 'PEP8fix' of https://github.com/muraty/tweepy into PEP8fix

10 years agofix merge conflicts
Omer Murat Yildirim [Tue, 23 Sep 2014 17:00:23 +0000 (20:00 +0300)]
fix merge conflicts

10 years agofix merge conflicts
Omer Murat Yildirim [Tue, 23 Sep 2014 16:59:17 +0000 (19:59 +0300)]
fix merge conflicts

10 years agoFix some pep8 errors
Omer Murat Yildirim [Fri, 19 Sep 2014 16:34:41 +0000 (19:34 +0300)]
Fix some pep8 errors

10 years agofix some pep8 errors
Omer Murat Yildirim [Thu, 18 Sep 2014 18:28:44 +0000 (21:28 +0300)]
fix some pep8 errors

10 years agoFix some PEP8 errors
Omer Murat Yildirim [Wed, 17 Sep 2014 18:39:40 +0000 (21:39 +0300)]
Fix some PEP8 errors

10 years agoRevert "Fix some PEP8 errors"
Omer Murat Yildirim [Tue, 23 Sep 2014 16:38:18 +0000 (19:38 +0300)]
Revert "Fix some PEP8 errors"

This reverts commit 45ef6a2dcf10a3cecdf33f2aa2d6a4afb5c851a1.

10 years agoMerge pull request #488 from joausaga/master
Aaron1011 [Sat, 20 Sep 2014 00:03:52 +0000 (20:03 -0400)]
Merge pull request #488 from joausaga/master

Update the required version of the requests package (requirement.txt)

10 years agoChange the required version of the requirement package requests to solve the version...
joausaga [Fri, 19 Sep 2014 23:00:24 +0000 (16:00 -0700)]
Change the required version of the requirement package requests to solve the version conflict error when installing tweepy from code

10 years agoMerge pull request #487 from bryant1410/patch-1
Aaron1011 [Fri, 19 Sep 2014 18:48:21 +0000 (14:48 -0400)]
Merge pull request #487 from bryant1410/patch-1

"cd tweepy" command after git clone in README

10 years ago"cd tweepy" command after git clone in README
Santiago Castro [Fri, 19 Sep 2014 17:40:30 +0000 (14:40 -0300)]
"cd tweepy" command after git clone in README

Missing "cd tweepy" command after git clone in README.md in installation instructions

10 years agoFix some pep8 errors
Omer Murat Yildirim [Fri, 19 Sep 2014 16:34:41 +0000 (19:34 +0300)]
Fix some pep8 errors

10 years agoMerge pull request #485 from volnt/patch-1
Aaron1011 [Fri, 19 Sep 2014 10:26:58 +0000 (06:26 -0400)]
Merge pull request #485 from volnt/patch-1

Update docstrings and methods in api.py.

10 years agoUpdate docstrings and methods in api.py.
volnt [Fri, 19 Sep 2014 09:38:27 +0000 (11:38 +0200)]
Update docstrings and methods in api.py.

Update the references URL in the doctring with the new Twitter API doc.
Fix formatting for :allowed_param in the docstring.
Fix method for destroy endpoints (POST instead of DELETE).

10 years agofix some pep8 errors
Omer Murat Yildirim [Thu, 18 Sep 2014 18:28:44 +0000 (21:28 +0300)]
fix some pep8 errors

10 years agoFix some PEP8 errors
Omer Murat Yildirim [Wed, 17 Sep 2014 18:39:40 +0000 (21:39 +0300)]
Fix some PEP8 errors

10 years agoFix some PEP8 errors
murat [Wed, 17 Sep 2014 18:26:51 +0000 (21:26 +0300)]
Fix some PEP8 errors

10 years agoMerge pull request #482 from kureta/master
Aaron1011 [Tue, 19 Aug 2014 21:32:54 +0000 (17:32 -0400)]
Merge pull request #482 from kureta/master

Added language option at sample streaming endpoint

10 years agoAdded language option at sample streaming endpoint
kureta [Tue, 19 Aug 2014 20:45:26 +0000 (23:45 +0300)]
Added language option at sample streaming endpoint

10 years agoMerge pull request #476 from snarfed/master
Aaron1011 [Wed, 13 Aug 2014 01:21:31 +0000 (21:21 -0400)]
Merge pull request #476 from snarfed/master

add x_auth_access_type support to allow requesting read-only tokens for read/write apps

10 years agolog warning about Twitter API bug: signin_with_twitter and access_type don't play...
Ryan Barrett [Wed, 13 Aug 2014 00:30:03 +0000 (17:30 -0700)]
log warning about Twitter API bug: signin_with_twitter and access_type don't play nice together

sigh. background: https://dev.twitter.com/discussions/21281

@Aaron1011, i'm open to doing something stronger about this if you want, e.g. don't allow them both at the same time, or silently disable signin_with_twitter if access_type is set (which isn't as nice).

10 years agoadd access_type kwarg to OAuthHandler.get_authorization_url(), pass through to Twitte...
Ryan Barrett [Tue, 12 Aug 2014 22:17:34 +0000 (15:17 -0700)]
add access_type kwarg to OAuthHandler.get_authorization_url(), pass through to Twitter's x_auth_access_type

Twitter's oauth/request_token endpoint supports a custom x_auth_access_type query parameter that may be 'read' or 'write'. This lets you request a read-only token for an app that has read/write permissions. Details: https://dev.twitter.com/docs/api/1/post/oauth/request_token

fixes #471

10 years agoRemove Python Package Documentation
Aaron Hill [Mon, 11 Aug 2014 18:41:44 +0000 (14:41 -0400)]
Remove Python Package Documentation

10 years agoMerge pull request #474 from Kjwon15/handling-friends
Aaron1011 [Sun, 10 Aug 2014 20:41:07 +0000 (16:41 -0400)]
Merge pull request #474 from Kjwon15/handling-friends

Handling message "friends" on streaming.

10 years agoHandling message "friends" on streaming.
kjwon15 [Sun, 10 Aug 2014 17:56:21 +0000 (02:56 +0900)]
Handling message "friends" on streaming.

10 years agoMerge pull request #472 from chimeno/search_results_append_proper_status_model
Aaron1011 [Sat, 9 Aug 2014 17:57:05 +0000 (13:57 -0400)]
Merge pull request #472 from chimeno/search_results_append_proper_status_model

Status model from Model Factory

10 years agoExample of getting the model instance from factory
Daniel Chimeno [Fri, 8 Aug 2014 17:10:05 +0000 (19:10 +0200)]
Example of getting the model instance from factory

10 years agoMerge pull request #467 from ydacheville/minor-bugfix
Aaron1011 [Tue, 5 Aug 2014 15:37:13 +0000 (11:37 -0400)]
Merge pull request #467 from ydacheville/minor-bugfix

added allowed_param to update_profile_image

10 years agoadded allowed_param to update_profile_image
Yannick Dacheville [Tue, 5 Aug 2014 13:04:03 +0000 (15:04 +0200)]
added allowed_param to update_profile_image

10 years agoMerge pull request #462 from mikefromlyon69/patch-1
Aaron1011 [Mon, 28 Jul 2014 16:53:38 +0000 (12:53 -0400)]
Merge pull request #462 from mikefromlyon69/patch-1

Change to make sure tweepy use SSL

10 years agoChange to make sure tweepy use SSL
Mickaël Fosso [Mon, 28 Jul 2014 14:37:27 +0000 (16:37 +0200)]
Change to make sure tweepy use SSL

I had some problems using Tweepy and I realized it was because it didn't always use SSL. So I propose to add a line to make sure the connexion we use is secure.

10 years agoMerge pull request #460 from zebpalmer/master
Aaron1011 [Wed, 16 Jul 2014 19:38:30 +0000 (15:38 -0400)]
Merge pull request #460 from zebpalmer/master

reword rate limit notify msg

10 years agoreword rate limit notify msg
Zeb Palmer [Wed, 16 Jul 2014 04:40:08 +0000 (22:40 -0600)]
reword rate limit notify msg

10 years agoRemove delimited=length from sample stream
Aaron Hill [Tue, 1 Jul 2014 11:51:28 +0000 (07:51 -0400)]
Remove delimited=length from sample stream

This causes Twitter to reject the request, for some reason.

10 years agoFix tweepy.API.update_with_madia
Katsunori SUZUI [Fri, 13 Jun 2014 09:29:45 +0000 (18:29 +0900)]
Fix tweepy.API.update_with_madia

`filename` have to be percent-encoded whichever it is an instance of
`unicode` or an instance of `str`.

10 years agoFix tweepy.API.update_with_media
Katsunori SUZUI [Fri, 13 Jun 2014 09:00:02 +0000 (18:00 +0900)]
Fix tweepy.API.update_with_media

If filename is an instance of `unicode',
L.76 `` 'Content-Disposition: form-data; name="%s"; filename="%s"' % (form_field, filename) ''
must be unicode string.

Because of it, L. 803 `` body = '\r\n'.join(body) '' fails.

Therefore, I made `filename' designed to be percent-encoded str object
before formatting.

10 years agoMerge pull request #455 from Ignalion/Issue453
Aaron1011 [Mon, 23 Jun 2014 09:30:38 +0000 (05:30 -0400)]
Merge pull request #455 from Ignalion/Issue453

Fix proposal to Issue #453

10 years agoUpdate streaming.py
Constantine [Mon, 23 Jun 2014 09:20:28 +0000 (12:20 +0300)]
Update streaming.py

Changed _start() method of Stream class so now thread can be join'ed.

10 years agoMerge pull request #350 from Aaron1011/sitestream
Aaron1011 [Sun, 22 Jun 2014 23:12:28 +0000 (19:12 -0400)]
Merge pull request #350 from Aaron1011/sitestream

Added sitestream endpoint

10 years agoMerge pull request #454 from arudmin/patch-1
Aaron1011 [Sat, 21 Jun 2014 10:43:02 +0000 (06:43 -0400)]
Merge pull request #454 from arudmin/patch-1

Update api.py

10 years agoUpdate api.py
Arudmin [Sat, 21 Jun 2014 09:56:19 +0000 (13:56 +0400)]
Update api.py

Add allowed params from API reference according to the documentation.

10 years agoMerge pull request #452 from pilbot/fix-setup
Aaron1011 [Thu, 19 Jun 2014 19:21:12 +0000 (15:21 -0400)]
Merge pull request #452 from pilbot/fix-setup

Fix setup.py to not attempt importing uninstalled libraries.

10 years agoFix setup.py to not attempt importing uninstalled libraries.
William Cooke [Thu, 19 Jun 2014 11:11:39 +0000 (12:11 +0100)]
Fix setup.py to not attempt importing uninstalled libraries.

10 years agoDon't pass self to API methods
Aaron Hill [Wed, 18 Jun 2014 17:12:03 +0000 (13:12 -0400)]
Don't pass self to API methods

10 years agoMerge branch 'foutoucour-master'
Aaron Hill [Wed, 18 Jun 2014 16:38:50 +0000 (12:38 -0400)]
Merge branch 'foutoucour-master'

10 years agoMerge branch 'master' of https://github.com/foutoucour/tweepy into foutoucour-master
Aaron Hill [Wed, 18 Jun 2014 16:38:20 +0000 (12:38 -0400)]
Merge branch 'master' of https://github.com/foutoucour/tweepy into foutoucour-master

Conflicts:
tweepy/api.py

10 years agoUnescape stream data from Twitter
Aaron Hill [Wed, 18 Jun 2014 16:35:12 +0000 (12:35 -0400)]
Unescape stream data from Twitter

10 years agoMerge pull request #450 from 7kry/master
Aaron1011 [Fri, 13 Jun 2014 10:30:10 +0000 (06:30 -0400)]
Merge pull request #450 from 7kry/master

Fix tweepy.API.update_with_media with unicode filename

10 years agoFix tweepy.API.update_with_madia
Katsunori SUZUI [Fri, 13 Jun 2014 09:29:45 +0000 (18:29 +0900)]
Fix tweepy.API.update_with_madia

`filename` have to be percent-encoded whichever it is an instance of
`unicode` or an instance of `str`.

10 years agoFix tweepy.API.update_with_media
Katsunori SUZUI [Fri, 13 Jun 2014 09:00:02 +0000 (18:00 +0900)]
Fix tweepy.API.update_with_media

If filename is an instance of `unicode',
L.76 `` 'Content-Disposition: form-data; name="%s"; filename="%s"' % (form_field, filename) ''
must be unicode string.

Because of it, L. 803 `` body = '\r\n'.join(body) '' fails.

Therefore, I made `filename' designed to be percent-encoded str object
before formatting.

10 years agoMerge pull request #446 from andreip/master
Aaron1011 [Tue, 10 Jun 2014 00:29:22 +0000 (20:29 -0400)]
Merge pull request #446 from andreip/master

IdIterator fix TypeError: _call() got multiple values for keyword argumet 'max_id'

10 years agoIdIterator fix TypeError: _call() got multiple values for keyword argument 'max_id'.
Andrei Petre [Mon, 9 Jun 2014 23:29:22 +0000 (02:29 +0300)]
IdIterator fix TypeError: _call() got multiple values for keyword argument 'max_id'.

The problem is that max_id is passed in self.method as param but also
kept in kargs. Doing a kargs.pop with None as default value for 'max_id'
solves the problem as not keeping 'max_id' in two places anymore.

10 years agoAdded two missed api=self.
Jordi Riera [Tue, 3 Jun 2014 14:51:15 +0000 (16:51 +0200)]
Added two missed api=self.

10 years agoBack to **config.
Jordi Riera [Sat, 31 May 2014 14:50:45 +0000 (16:50 +0200)]
Back to **config.

10 years agoAdded api as argument of bind_api, changed to explicit arguments for bind_api.
Jordi Riera [Sat, 31 May 2014 11:14:08 +0000 (13:14 +0200)]
Added api as argument of bind_api, changed to explicit arguments for bind_api.

10 years agoImplementation of bindings as properties, update of their docstrings and some change...
Jordi Riera [Sat, 31 May 2014 11:10:50 +0000 (13:10 +0200)]
Implementation of bindings as properties, update of their docstrings and some change to be closure to PEP8 heaven.

10 years agoscripts to test ofind dead links in urls provided in binding docstrings.
Jordi Riera [Sat, 31 May 2014 11:09:28 +0000 (13:09 +0200)]
scripts to test ofind dead links in urls provided in binding docstrings.

10 years agoMerge pull request #442 from arudmin/patch-1
Aaron1011 [Thu, 29 May 2014 18:54:31 +0000 (14:54 -0400)]
Merge pull request #442 from arudmin/patch-1

Update api.py

10 years agoUpdate api.py
Arudmin [Wed, 28 May 2014 23:10:35 +0000 (03:10 +0400)]
Update api.py

add 'display_coordinates' parameter to the statuses/update method

10 years agoUse tweepy.Cursor instead of Cursor in cursor tutorial
Aaron Hill [Sun, 18 May 2014 12:18:14 +0000 (08:18 -0400)]
Use tweepy.Cursor instead of Cursor in cursor tutorial

10 years agoDon't manually decompress GZIP data
Aaron Hill [Wed, 14 May 2014 22:28:30 +0000 (18:28 -0400)]
Don't manually decompress GZIP data

Requests handles this automatically for us

10 years agoDon't reset session in APIMethod
Aaron Hill [Wed, 14 May 2014 22:27:08 +0000 (18:27 -0400)]
Don't reset session in APIMethod

10 years agoMerge pull request #437 from gjreda/master
Aaron1011 [Mon, 12 May 2014 10:25:02 +0000 (06:25 -0400)]
Merge pull request #437 from gjreda/master

Remove documentation for a bunch of deprecated methods

10 years agoRemove documentation for a bunch of deprecated methods
Greg Reda [Mon, 12 May 2014 01:57:31 +0000 (20:57 -0500)]
Remove documentation for a bunch of deprecated methods

10 years agoUse self.session.params instead of self.parameters in stream.userstream()
Aaron Hill [Fri, 9 May 2014 23:36:09 +0000 (19:36 -0400)]
Use self.session.params instead of self.parameters in stream.userstream()

10 years agoMerge pull request #435 from skrew/master
Aaron1011 [Fri, 9 May 2014 00:41:59 +0000 (20:41 -0400)]
Merge pull request #435 from skrew/master

Update streaming.py

10 years agoUpdate streaming.py
skrew [Fri, 9 May 2014 00:20:02 +0000 (02:20 +0200)]
Update streaming.py

10 years agoFix streaming headers in filter()
Aaron Hill [Tue, 6 May 2014 23:10:46 +0000 (19:10 -0400)]
Fix streaming headers in filter()

10 years agoAdd missing 'count' parameter to followers_ids
Aaron Hill [Tue, 6 May 2014 10:21:19 +0000 (06:21 -0400)]
Add missing 'count' parameter to followers_ids