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

10 years agoMake IdIerator work correctly (Finally!)
Aaron Hill [Sat, 12 Apr 2014 21:32:05 +0000 (17:32 -0400)]
Make IdIerator work correctly (Finally!)

The IdIterator class now correctly requests new pages of results. It
doesn't allow going back past the first page requested by next(), as
there's no way to do this properly with Twitter's API.

10 years agoMerge pull request #308 from drevicko/search-1.1-cursor-fix
Aaron1011 [Wed, 9 Apr 2014 17:05:23 +0000 (13:05 -0400)]
Merge pull request #308 from drevicko/search-1.1-cursor-fix

should fix issue 303

10 years agoUpdate 'Getting Started' page
Aaron Hill [Wed, 9 Apr 2014 10:25:55 +0000 (06:25 -0400)]
Update 'Getting Started' page

10 years agoRemove test() method from the docs
Aaron Hill [Wed, 9 Apr 2014 10:19:50 +0000 (06:19 -0400)]
Remove test() method from the docs

10 years agoRevert "Don't add 'delimited=length' to self.parameters"
Aaron Hill [Tue, 8 Apr 2014 19:51:02 +0000 (15:51 -0400)]
Revert "Don't add 'delimited=length' to self.parameters"

This reverts commit 4374ec2f0b5030a3d234d8ee3d60e559e2ef3910.
Until I figure out what's going on with 'delimited=length', I'm going to
leave things as-is.

10 years agoDon't add 'delimited=length' to self.parameters
Aaron Hill [Tue, 8 Apr 2014 19:34:32 +0000 (15:34 -0400)]
Don't add 'delimited=length' to self.parameters

10 years agoRemove 'count' parameter from endpoint that no longer support it
Aaron Hill [Tue, 8 Apr 2014 19:23:12 +0000 (15:23 -0400)]
Remove 'count' parameter from endpoint that no longer support it

10 years agoStream - add all parameters to the URL when making UserStream requests.
Ruxandra Burtica [Tue, 8 Apr 2014 14:24:21 +0000 (17:24 +0300)]
Stream - add all parameters to the URL when making UserStream requests.

10 years agoAdded failing test for connecting to userstream with parameters.
Ruxandra Burtica [Tue, 8 Apr 2014 14:23:03 +0000 (17:23 +0300)]
Added failing test for connecting to userstream with parameters.

10 years agoMerge pull request #408 from jonathanronen/master
Aaron1011 [Sat, 5 Apr 2014 00:50:06 +0000 (20:50 -0400)]
Merge pull request #408 from jonathanronen/master

Add _json field to user and status models

10 years agoAdd _json field to user and status models, including entire twitter json object
Jonathan Ronen [Fri, 4 Apr 2014 22:10:59 +0000 (18:10 -0400)]
Add _json field to user and status models, including entire twitter json object

10 years agoMerge pull request #407 from pikeas/master
Aaron1011 [Fri, 4 Apr 2014 00:42:31 +0000 (20:42 -0400)]
Merge pull request #407 from pikeas/master

Only call _data if stream.running=True

10 years agoOnly call _data if stream.running=True
Aris Pikeas [Thu, 3 Apr 2014 23:43:45 +0000 (16:43 -0700)]
Only call _data if stream.running=True

Not sure why an extra delimiter int is spit out when you disconnect, but this should be enough of a bandaid.

10 years agoRevert "Disable record.json upload for now."
Aaron Hill [Fri, 28 Mar 2014 23:35:54 +0000 (19:35 -0400)]
Revert "Disable record.json upload for now."

This reverts commit 13ef8534bf1468883d48d6236b7ed5cbffa13f3d
I'm re-enabling uploading to debug it.

10 years agoFix args according docs.
kk6 [Fri, 28 Mar 2014 02:47:06 +0000 (11:47 +0900)]
Fix args according docs.

10 years agorebase
kk6 [Thu, 27 Mar 2014 16:48:40 +0000 (01:48 +0900)]
rebase

10 years agoFixed user_ids and screen_names argument of the new method to receive a list.
kk6 [Wed, 13 Mar 2013 13:14:24 +0000 (22:14 +0900)]
Fixed user_ids and screen_names argument of the new method to receive a list.

10 years agoadded multiple list members operatio api methods
kk6 [Sat, 9 Mar 2013 11:57:04 +0000 (20:57 +0900)]
added multiple list members operatio api methods

10 years agoDeploy from production branch.
Joshua Roesslein [Tue, 18 Mar 2014 06:22:46 +0000 (23:22 -0700)]
Deploy from production branch.

[skip ci]

10 years agoRelease 2.3.
Joshua Roesslein [Tue, 18 Mar 2014 06:03:08 +0000 (23:03 -0700)]
Release 2.3.

10 years agoDisable record.json upload for now.
Joshua Roesslein [Tue, 18 Mar 2014 04:28:15 +0000 (21:28 -0700)]
Disable record.json upload for now.

10 years agoOnly run tests agains Twitter API on production branch.
Joshua Roesslein [Tue, 18 Mar 2014 04:05:38 +0000 (21:05 -0700)]
Only run tests agains Twitter API on production branch.

10 years agoDisable failing test.
Joshua Roesslein [Sun, 16 Mar 2014 23:31:17 +0000 (16:31 -0700)]
Disable failing test.

10 years agoMerge pull request #401 from tweepy/s3_upload
Joshua Roesslein [Sun, 16 Mar 2014 23:20:09 +0000 (16:20 -0700)]
Merge pull request #401 from tweepy/s3_upload

Upload HTTP record to S3 after a successful test

10 years agoAdd S3 keys and bucket name.
Joshua Roesslein [Sun, 16 Mar 2014 23:17:09 +0000 (16:17 -0700)]
Add S3 keys and bucket name.

10 years agoAdd __init__.py to examples
Aaron Hill [Mon, 10 Mar 2014 20:53:54 +0000 (16:53 -0400)]
Add __init__.py to examples

This allows the modules in examples to be imported from outside the
examples directory.

10 years agoUpdated parameters for search_users
Aaron Hill [Sun, 9 Mar 2014 16:57:35 +0000 (12:57 -0400)]
Updated parameters for search_users

10 years agoUpload HTTP record to S3 after a successful test
Aaron Hill [Sun, 9 Mar 2014 16:47:23 +0000 (12:47 -0400)]
Upload HTTP record to S3 after a successful test

10 years agoDisable Python 2.6 matrix.
Joshua Roesslein [Fri, 7 Mar 2014 03:43:43 +0000 (19:43 -0800)]
Disable Python 2.6 matrix.

There is some state issue with multiple matrices running the tests at
the same time. Need to update the tests to not conflict.

10 years agoEnable PyPI deployments.
Joshua Roesslein [Fri, 7 Mar 2014 03:40:00 +0000 (19:40 -0800)]
Enable PyPI deployments.

10 years agoUse new print syntax in cache
Aaron Hill [Fri, 21 Feb 2014 19:50:09 +0000 (14:50 -0500)]
Use new print syntax in cache

10 years agoUse new print syntax for Python 3 compatibility
Aaron Hill [Fri, 21 Feb 2014 11:45:46 +0000 (06:45 -0500)]
Use new print syntax for Python 3 compatibility

10 years agoRemove unused import
Aaron Hill [Fri, 21 Feb 2014 00:48:20 +0000 (19:48 -0500)]
Remove unused import

10 years agoUse new exception-related syntax for Python 3 compatibility
Aaron Hill [Fri, 21 Feb 2014 00:46:41 +0000 (19:46 -0500)]
Use new exception-related syntax for Python 3 compatibility

10 years agoMerge pull request #252 from inactivist/add-model-repr
Aaron1011 [Thu, 20 Feb 2014 23:59:12 +0000 (18:59 -0500)]
Merge pull request #252 from inactivist/add-model-repr

Basic Model __repr__ implementation (issue #251)