tweepy.git
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

10 years agoMerge pull request #430 from foutoucour/master
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.

10 years agopumped up the version.
Jordi Riera [Sun, 4 May 2014 09:46:29 +0000 (11:46 +0200)]
pumped up the version.

10 years agoMerge branch 'foutoucour-master'
Aaron Hill [Sat, 3 May 2014 16:07:44 +0000 (12:07 -0400)]
Merge branch 'foutoucour-master'

10 years agoMerge branch 'master' of https://github.com/foutoucour/tweepy into 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

10 years agoDocument API.statuses_lookup
Aaron Hill [Sat, 3 May 2014 14:56:04 +0000 (10:56 -0400)]
Document API.statuses_lookup

10 years agoAdd API method for /statuses/lookup.json
Aaron Hill [Sat, 3 May 2014 14:47:07 +0000 (10:47 -0400)]
Add API method for /statuses/lookup.json

10 years agoAttempt to improve the error message if parser argument is not well set.
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.

10 years agoAttempt 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.

10 years agoFix API constructor method signature in docs
Aaron Hill [Tue, 29 Apr 2014 22:09:05 +0000 (18:09 -0400)]
Fix API constructor method signature in docs

10 years agoUpdate API constructor documentation
Aaron Hill [Tue, 29 Apr 2014 22:05:58 +0000 (18:05 -0400)]
Update API constructor documentation

10 years agoAdd proxy support
Aaron Hill [Tue, 29 Apr 2014 22:00:17 +0000 (18:00 -0400)]
Add proxy support

10 years agoRemove Google group and replace with discuss forum
Joshua Roesslein [Mon, 28 Apr 2014 23:45:28 +0000 (16:45 -0700)]
Remove Google group and replace with discuss forum

10 years agoFix Application-only auth
Aaron Hill [Sun, 27 Apr 2014 11:39:13 +0000 (07:39 -0400)]
Fix Application-only auth

10 years agoRemove all uses of HTTP.
Joshua Roesslein [Sun, 27 Apr 2014 05:45:27 +0000 (22:45 -0700)]
Remove all uses of HTTP.

10 years agoFix mistake in setup file.
Joshua Roesslein [Sun, 27 Apr 2014 05:38:05 +0000 (22:38 -0700)]
Fix mistake in setup file.

10 years agoMerge pull request #403 from kk6/prototype
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)

10 years agoFix errors due to Requests merge.
Joshua Roesslein [Sun, 27 Apr 2014 05:00:08 +0000 (22:00 -0700)]
Fix errors due to Requests merge.

10 years agoMerge pull request #400 from tweepy/updated_requests
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) !

10 years agoReset session after making request
Aaron Hill [Tue, 25 Feb 2014 18:37:52 +0000 (13:37 -0500)]
Reset session after making request

10 years agoInstall requirements.txt on Travis CI
Aaron Hill [Sat, 22 Feb 2014 04:16:54 +0000 (23:16 -0500)]
Install requirements.txt on Travis CI

10 years agoClean up OAuthHandler variables
Aaron Hill [Sat, 22 Feb 2014 04:14:08 +0000 (23:14 -0500)]
Clean up OAuthHandler variables

10 years agoGet parameters from Requests session
Aaron Hill [Sat, 22 Feb 2014 04:13:36 +0000 (23:13 -0500)]
Get parameters from Requests session

10 years agoIt's status_code, not status, in Requests
Aaron Hill [Sat, 22 Feb 2014 04:12:52 +0000 (23:12 -0500)]
It's status_code, not status, in Requests

10 years agoEncode stream parameters
Aaron Hill [Sat, 22 Feb 2014 04:12:11 +0000 (23:12 -0500)]
Encode stream parameters

10 years agoAdded explanation to exception handling
Aaron Hill [Sat, 22 Feb 2014 04:11:57 +0000 (23:11 -0500)]
Added explanation to exception handling

10 years agoUse right library this time :)
Aaron Hill [Sat, 22 Feb 2014 04:10:16 +0000 (23:10 -0500)]
Use right library this time :)

10 years agoAdded dependencies
Aaron Hill [Sat, 17 Aug 2013 01:45:06 +0000 (21:45 -0400)]
Added dependencies

10 years agoUse Requests's OAuth for XAuth
Aaron Hill [Fri, 16 Aug 2013 19:57:05 +0000 (15:57 -0400)]
Use Requests's OAuth for XAuth

10 years agoRemoved old code
Aaron Hill [Fri, 16 Aug 2013 19:31:47 +0000 (15:31 -0400)]
Removed old code

10 years agoUse Requests's OAuth
Aaron Hill [Fri, 16 Aug 2013 19:23:58 +0000 (15:23 -0400)]
Use Requests's OAuth

10 years agoUse Requests instead of httplib
Aaron Hill [Thu, 11 Jul 2013 13:49:49 +0000 (09:49 -0400)]
Use Requests instead of httplib

10 years agoDocument API.update_with_media
Aaron Hill [Thu, 24 Apr 2014 19:31:55 +0000 (15:31 -0400)]
Document API.update_with_media

10 years agoFix mistake in docs
Aaron Hill [Thu, 24 Apr 2014 19:26:13 +0000 (15:26 -0400)]
Fix mistake in docs

10 years agoAllow passing a file object to _pack_image and related endpoints
Aaron Hill [Thu, 24 Apr 2014 19:21:52 +0000 (15:21 -0400)]
Allow passing a file object to _pack_image and related endpoints

10 years agoFix _run method
Aaron Hill [Sat, 19 Apr 2014 12:46:11 +0000 (08:46 -0400)]
Fix _run method

10 years agoMerge pull request #418 from marianitadn/log-location-error
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

10 years agoRaise error if 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

10 years agoFix wait_on_rate_limit_notify
Aaron Hill [Sat, 19 Apr 2014 01:38:17 +0000 (21:38 -0400)]
Fix wait_on_rate_limit_notify

10 years agoMake IdIterator not dependent on the parser being used
Aaron Hill [Fri, 18 Apr 2014 23:35:10 +0000 (19:35 -0400)]
Make IdIterator not dependent on the parser being used

10 years agoMerge pull request #415 from cpcoats/master
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

10 years agoremoving extra whitespace
Cody Coats [Fri, 18 Apr 2014 23:27:46 +0000 (19:27 -0400)]
removing extra whitespace

10 years agoadded feature for printing remaining time when max retries reached
Cody Coats [Fri, 18 Apr 2014 23:20:35 +0000 (19:20 -0400)]
added feature for printing remaining time when max retries reached

10 years agoCheck against self._remaining_calls, not rem_calls
Aaron Hill [Fri, 18 Apr 2014 20:10:41 +0000 (16:10 -0400)]
Check against self._remaining_calls, not rem_calls

10 years agoAlways expose remaining calls and reset time
Aaron Hill [Fri, 18 Apr 2014 19:05:50 +0000 (15:05 -0400)]
Always expose remaining calls and reset time

10 years agoMerge pull request #390 from nirg/monitor_rate_limit
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.

10 years agoMerge pull request #413 from shogo82148/application-only-authentication
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

10 years agosupport application-only auth
Ichinose Shogo [Thu, 17 Apr 2014 11:30:47 +0000 (20:30 +0900)]
support application-only auth

10 years agoChange all uses of 'count' to 'num_tweets'
Aaron Hill [Sun, 13 Apr 2014 23:42:34 +0000 (19:42 -0400)]
Change all uses of 'count' to 'num_tweets'

'Count' is also a parameter accepted by Twitter, which can cause some
confusion when looking at the code.

10 years agoMerge pull request #409 from ruxandraburtica/userstream-parameters
Aaron1011 [Sun, 13 Apr 2014 22:40:02 +0000 (18:40 -0400)]
Merge pull request #409 from ruxandraburtica/userstream-parameters

Stream's userstream method does not accept parameters

10 years agoDon't make an unnecessary API call in PageIterator
Aaron Hill [Sun, 13 Apr 2014 19:45:38 +0000 (15:45 -0400)]
Don't make an unnecessary API call in PageIterator