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).
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
kureta [Tue, 19 Aug 2014 20:45:26 +0000 (23:45 +0300)]
Added language option at sample streaming endpoint
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
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).
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
Aaron Hill [Mon, 11 Aug 2014 18:41:44 +0000 (14:41 -0400)]
Remove Python Package Documentation
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.
kjwon15 [Sun, 10 Aug 2014 17:56:21 +0000 (02:56 +0900)]
Handling message "friends" on streaming.
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
Daniel Chimeno [Fri, 8 Aug 2014 17:10:05 +0000 (19:10 +0200)]
Example of getting the model instance from factory
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
Yannick Dacheville [Tue, 5 Aug 2014 13:04:03 +0000 (15:04 +0200)]
added allowed_param to update_profile_image
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
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.
Aaron1011 [Wed, 16 Jul 2014 19:38:30 +0000 (15:38 -0400)]
Merge pull request #460 from zebpalmer/master
reword rate limit notify msg
Zeb Palmer [Wed, 16 Jul 2014 04:40:08 +0000 (22:40 -0600)]
reword rate limit notify msg
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.
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`.
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.
Aaron1011 [Mon, 23 Jun 2014 09:30:38 +0000 (05:30 -0400)]
Merge pull request #455 from Ignalion/Issue453
Fix proposal to Issue #453
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.
Aaron1011 [Sun, 22 Jun 2014 23:12:28 +0000 (19:12 -0400)]
Merge pull request #350 from Aaron1011/sitestream
Added sitestream endpoint
Aaron1011 [Sat, 21 Jun 2014 10:43:02 +0000 (06:43 -0400)]
Merge pull request #454 from arudmin/patch-1
Update 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.
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.
William Cooke [Thu, 19 Jun 2014 11:11:39 +0000 (12:11 +0100)]
Fix setup.py to not attempt importing uninstalled libraries.
Aaron Hill [Wed, 18 Jun 2014 17:12:03 +0000 (13:12 -0400)]
Don't pass self to API methods
Aaron Hill [Wed, 18 Jun 2014 16:38:50 +0000 (12:38 -0400)]
Merge branch '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
Aaron Hill [Wed, 18 Jun 2014 16:35:12 +0000 (12:35 -0400)]
Unescape stream data from Twitter
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
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`.
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.
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'
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.
Jordi Riera [Tue, 3 Jun 2014 14:51:15 +0000 (16:51 +0200)]
Added two missed api=self.
Jordi Riera [Sat, 31 May 2014 14:50:45 +0000 (16:50 +0200)]
Back to **config.
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.
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.
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.
Aaron1011 [Thu, 29 May 2014 18:54:31 +0000 (14:54 -0400)]
Merge pull request #442 from arudmin/patch-1
Update 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
Aaron Hill [Sun, 18 May 2014 12:18:14 +0000 (08:18 -0400)]
Use tweepy.Cursor instead of Cursor in cursor tutorial
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
Aaron Hill [Wed, 14 May 2014 22:27:08 +0000 (18:27 -0400)]
Don't reset session in APIMethod
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
Greg Reda [Mon, 12 May 2014 01:57:31 +0000 (20:57 -0500)]
Remove documentation for a bunch of deprecated methods
Aaron Hill [Fri, 9 May 2014 23:36:09 +0000 (19:36 -0400)]
Use self.session.params instead of self.parameters in stream.userstream()
Aaron1011 [Fri, 9 May 2014 00:41:59 +0000 (20:41 -0400)]
Merge pull request #435 from skrew/master
Update streaming.py
skrew [Fri, 9 May 2014 00:20:02 +0000 (02:20 +0200)]
Update streaming.py
Aaron Hill [Tue, 6 May 2014 23:10:46 +0000 (19:10 -0400)]
Fix streaming headers in filter()
Aaron Hill [Tue, 6 May 2014 10:21:19 +0000 (06:21 -0400)]
Add missing 'count' parameter to followers_ids
Aaron1011 [Sun, 4 May 2014 11:16:35 +0000 (07:16 -0400)]
Merge pull request #430 from foutoucour/master
pumped up the version to 2.3 according to the pip package.
Jordi Riera [Sun, 4 May 2014 09:46:29 +0000 (11:46 +0200)]
pumped up the version.
Aaron Hill [Sat, 3 May 2014 16:07:44 +0000 (12:07 -0400)]
Merge branch 'foutoucour-master'
Aaron Hill [Sat, 3 May 2014 16:07:26 +0000 (12:07 -0400)]
Merge branch 'master' of https://github.com/foutoucour/tweepy into foutoucour-master
Conflicts:
tweepy/api.py
Aaron Hill [Sat, 3 May 2014 14:56:04 +0000 (10:56 -0400)]
Document API.statuses_lookup
Aaron Hill [Sat, 3 May 2014 14:47:07 +0000 (10:47 -0400)]
Add API method for /statuses/lookup.json
Jordi Riera [Sat, 3 May 2014 12:54:58 +0000 (14:54 +0200)]
Attempt to improve the error message if parser argument is not well set.
Jordi Riera [Sat, 3 May 2014 12:53:29 +0000 (14:53 +0200)]
Attempt to improve the error message if parser argument is not well set.
Aaron Hill [Tue, 29 Apr 2014 22:09:05 +0000 (18:09 -0400)]
Fix API constructor method signature in docs
Aaron Hill [Tue, 29 Apr 2014 22:05:58 +0000 (18:05 -0400)]
Update API constructor documentation
Aaron Hill [Tue, 29 Apr 2014 22:00:17 +0000 (18:00 -0400)]
Add proxy support
Joshua Roesslein [Mon, 28 Apr 2014 23:45:28 +0000 (16:45 -0700)]
Remove Google group and replace with discuss forum
Aaron Hill [Sun, 27 Apr 2014 11:39:13 +0000 (07:39 -0400)]
Fix Application-only auth
Joshua Roesslein [Sun, 27 Apr 2014 05:45:27 +0000 (22:45 -0700)]
Remove all uses of HTTP.
Joshua Roesslein [Sun, 27 Apr 2014 05:38:05 +0000 (22:38 -0700)]
Fix mistake in setup file.
Joshua Roesslein [Sun, 27 Apr 2014 05:36:00 +0000 (22:36 -0700)]
Merge pull request #403 from kk6/prototype
added multiple list members operation api methods(re-PR)
Joshua Roesslein [Sun, 27 Apr 2014 05:00:08 +0000 (22:00 -0700)]
Fix errors due to Requests merge.
Aaron1011 [Sun, 27 Apr 2014 02:04:55 +0000 (22:04 -0400)]
Merge pull request #400 from tweepy/updated_requests
Requests support (for real this time) !
Aaron Hill [Tue, 25 Feb 2014 18:37:52 +0000 (13:37 -0500)]
Reset session after making request
Aaron Hill [Sat, 22 Feb 2014 04:16:54 +0000 (23:16 -0500)]
Install requirements.txt on Travis CI
Aaron Hill [Sat, 22 Feb 2014 04:14:08 +0000 (23:14 -0500)]
Clean up OAuthHandler variables
Aaron Hill [Sat, 22 Feb 2014 04:13:36 +0000 (23:13 -0500)]
Get parameters from Requests session
Aaron Hill [Sat, 22 Feb 2014 04:12:52 +0000 (23:12 -0500)]
It's status_code, not status, in Requests
Aaron Hill [Sat, 22 Feb 2014 04:12:11 +0000 (23:12 -0500)]
Encode stream parameters
Aaron Hill [Sat, 22 Feb 2014 04:11:57 +0000 (23:11 -0500)]
Added explanation to exception handling
Aaron Hill [Sat, 22 Feb 2014 04:10:16 +0000 (23:10 -0500)]
Use right library this time :)
Aaron Hill [Sat, 17 Aug 2013 01:45:06 +0000 (21:45 -0400)]
Added dependencies
Aaron Hill [Fri, 16 Aug 2013 19:57:05 +0000 (15:57 -0400)]
Use Requests's OAuth for XAuth
Aaron Hill [Fri, 16 Aug 2013 19:31:47 +0000 (15:31 -0400)]
Removed old code
Aaron Hill [Fri, 16 Aug 2013 19:23:58 +0000 (15:23 -0400)]
Use Requests's OAuth
Aaron Hill [Thu, 11 Jul 2013 13:49:49 +0000 (09:49 -0400)]
Use Requests instead of httplib
Aaron Hill [Thu, 24 Apr 2014 19:31:55 +0000 (15:31 -0400)]
Document API.update_with_media
Aaron Hill [Thu, 24 Apr 2014 19:26:13 +0000 (15:26 -0400)]
Fix mistake in docs
Aaron Hill [Thu, 24 Apr 2014 19:21:52 +0000 (15:21 -0400)]
Allow passing a file object to _pack_image and related endpoints
Aaron Hill [Sat, 19 Apr 2014 12:46:11 +0000 (08:46 -0400)]
Fix _run method
Aaron1011 [Sat, 19 Apr 2014 10:39:25 +0000 (06:39 -0400)]
Merge pull request #418 from marianitadn/log-location-error
Raise error if the locations list has the wrong length
marianitadn [Wed, 16 Apr 2014 11:48:01 +0000 (14:48 +0300)]
Raise error if locations list has the wrong length
Aaron Hill [Sat, 19 Apr 2014 01:38:17 +0000 (21:38 -0400)]
Fix wait_on_rate_limit_notify
Aaron Hill [Fri, 18 Apr 2014 23:35:10 +0000 (19:35 -0400)]
Make IdIterator not dependent on the parser being used
Aaron1011 [Fri, 18 Apr 2014 23:33:45 +0000 (19:33 -0400)]
Merge pull request #415 from cpcoats/master
added feature for printing remaining time when max retries reached
Cody Coats [Fri, 18 Apr 2014 23:27:46 +0000 (19:27 -0400)]
removing extra whitespace
Cody Coats [Fri, 18 Apr 2014 23:20:35 +0000 (19:20 -0400)]
added feature for printing remaining time when max retries reached
Aaron Hill [Fri, 18 Apr 2014 20:10:41 +0000 (16:10 -0400)]
Check against self._remaining_calls, not rem_calls
Aaron Hill [Fri, 18 Apr 2014 19:05:50 +0000 (15:05 -0400)]
Always expose remaining calls and reset time
Aaron1011 [Fri, 18 Apr 2014 18:57:28 +0000 (14:57 -0400)]
Merge pull request #390 from nirg/monitor_rate_limit
Added monitoring of api rate limits and waiting for replenishment.
Aaron1011 [Thu, 17 Apr 2014 19:33:59 +0000 (15:33 -0400)]
Merge pull request #413 from shogo82148/application-only-authentication
support application-only auth
Ichinose Shogo [Thu, 17 Apr 2014 11:30:47 +0000 (20:30 +0900)]
support application-only auth