tweepy.git
11 years agosuggested user tests now work with what ever user you supply, by first getting a...
Thomas Whitton [Thu, 20 Dec 2012 21:16:43 +0000 (21:16 +0000)]
suggested user tests now work with what ever user you supply, by first getting a category to search for

11 years agoAdded suggest user api methods
Thomas Whitton [Wed, 19 Dec 2012 23:33:03 +0000 (23:33 +0000)]
Added suggest user api methods

11 years agoMerge pull request #222 from ruli/patch-1
Joshua Roesslein [Thu, 13 Dec 2012 02:12:48 +0000 (18:12 -0800)]
Merge pull request #222 from ruli/patch-1

Update README.md

11 years agoUpdate README.md
oel [Tue, 27 Nov 2012 14:56:11 +0000 (09:56 -0500)]
Update README.md

Just a clear pointer to the more complete docs.

11 years agoMerge pull request #218 from inactivist/streaming-fixes
Joshua Roesslein [Sat, 24 Nov 2012 03:07:16 +0000 (19:07 -0800)]
Merge pull request #218 from inactivist/streaming-fixes

Add stall_warnings parameter support to streaming endpoint

11 years agoMerge pull request #220 from inactivist/geo-models
Joshua Roesslein [Sun, 18 Nov 2012 03:51:33 +0000 (19:51 -0800)]
Merge pull request #220 from inactivist/geo-models

Place model support and geo API mods to support Places

11 years agoMerge pull request #221 from wladston/master
Joshua Roesslein [Thu, 15 Nov 2012 07:07:28 +0000 (23:07 -0800)]
Merge pull request #221 from wladston/master

Added a simple MongoDB cache backend.

11 years agoMongoDB cache backend added.
Wladston Viana Ferreira Filho [Thu, 15 Nov 2012 04:07:30 +0000 (02:07 -0200)]
MongoDB cache backend added.

11 years agoMerge branch 'master' of https://github.com/tweepy/tweepy into geo-models
inactivist [Wed, 14 Nov 2012 22:20:54 +0000 (14:20 -0800)]
Merge branch 'master' of https://github.com/tweepy/tweepy into geo-models

11 years agoMerge pull request #217 from inactivist/2396a55264ebf1f227b559633b64933baa200b2f
Joshua Roesslein [Wed, 14 Nov 2012 21:04:30 +0000 (13:04 -0800)]
Merge pull request #217 from inactivist/2396a55264ebf1f227b559633b64933baa200b2f

Fix for issue #193

12 years agoFixing BoundingBox.corner() - was returning incorrect data.
inactivist [Tue, 13 Nov 2012 22:48:15 +0000 (14:48 -0800)]
Fixing BoundingBox.corner() - was returning incorrect data.

12 years agoFixing broken unit test from prior commit. Need to deal with null (None) 'place...
inactivist [Tue, 13 Nov 2012 07:48:39 +0000 (23:48 -0800)]
Fixing broken unit test from prior commit.  Need to deal with null (None) 'place' attribute in Status objects.

12 years agoPlace model support and geo API mods
inactivist [Tue, 13 Nov 2012 07:15:08 +0000 (23:15 -0800)]
Place model support and geo API mods

api.py:

* Adding  API.geo_similar_places (geo/similar_places.json).
* Updating geo_search, geo_id, nearby_places, and reverse_geocode to return Place model instances as appropriate, rather than raw query result JSON data.  The geo APIs parse the 'result' element into a single Place or a list of Place instances.

models.py:

* Status: Now uses Place model if place attribute present in tweet/status body.
* Adding BoundingBox, Place model classes.

NOTE: Breaking Changes

* Clients referencing Status.place or existing geo  functions (see list above) must be reviewed and updated to use proper attribute access.  The geo methods now return Place model instances rather than the raw JSON query data.

12 years agoEnable TweepyErrorTests in CI builds.
Joshua Roesslein [Fri, 9 Nov 2012 07:11:29 +0000 (23:11 -0800)]
Enable TweepyErrorTests in CI builds.

[ci skip]

12 years agoMerge branch 'version' of git://github.com/alejandrogomez/tweepy
Joshua Roesslein [Fri, 9 Nov 2012 07:02:53 +0000 (23:02 -0800)]
Merge branch 'version' of git://github.com/alejandrogomez/tweepy

Conflicts:
setup.py

12 years agoAdd failing test for TweepError pickle bug.
Joshua Roesslein [Fri, 9 Nov 2012 06:50:09 +0000 (22:50 -0800)]
Add failing test for TweepError pickle bug.

A test for the fail case in issue #193.

[ci skip]

12 years agoProposed fix for issue #193. Call base Exception constructor.
inactivist [Thu, 8 Nov 2012 17:37:27 +0000 (09:37 -0800)]
Proposed fix for issue #193.  Call base Exception constructor.

12 years agoRelease 1.12
Joshua Roesslein [Thu, 8 Nov 2012 08:22:54 +0000 (00:22 -0800)]
Release 1.12

[ci skip]

12 years agoFix failing tests and tweak CI build.
Joshua Roesslein [Thu, 8 Nov 2012 08:13:58 +0000 (00:13 -0800)]
Fix failing tests and tweak CI build.

12 years agoRemove Python 2.5 from CI runs.
Joshua Roesslein [Thu, 8 Nov 2012 04:57:30 +0000 (20:57 -0800)]
Remove Python 2.5 from CI runs.

[ci skip]

12 years agoMerge pull request #203 from alejandrogomez/retweeted_by_user
Joshua Roesslein [Thu, 8 Nov 2012 04:51:26 +0000 (20:51 -0800)]
Merge pull request #203 from alejandrogomez/retweeted_by_user

Get retweets by user

12 years agoTweak create/destroy friendship test.
Joshua Roesslein [Thu, 8 Nov 2012 04:40:26 +0000 (20:40 -0800)]
Tweak create/destroy friendship test.

Added a bit of sleep time between destroy and create
requests to allow Twitter time to process.

[ci skip]

12 years agoRemove deprecated trends_current().
Joshua Roesslein [Thu, 8 Nov 2012 04:18:33 +0000 (20:18 -0800)]
Remove deprecated trends_current().

Also adding IRC notifications for CI build failures.

12 years agoFix travis environment variables.
Joshua Roesslein [Thu, 8 Nov 2012 03:47:44 +0000 (19:47 -0800)]
Fix travis environment variables.

12 years agoAdd Travis CI config.
Joshua Roesslein [Thu, 8 Nov 2012 03:37:33 +0000 (19:37 -0800)]
Add Travis CI config.

12 years agoFix up tests to get them passing.
Joshua Roesslein [Thu, 8 Nov 2012 03:36:44 +0000 (19:36 -0800)]
Fix up tests to get them passing.

Removed a few deprecated tests and added
environment variable lookup for getting oAuth credentials.

12 years agoRemove deprecated trends endpoint.
Joshua Roesslein [Thu, 8 Nov 2012 03:36:05 +0000 (19:36 -0800)]
Remove deprecated trends endpoint.

12 years agoNew README.
Joshua Roesslein [Thu, 8 Nov 2012 03:35:43 +0000 (19:35 -0800)]
New README.

12 years agoFix bogus commit - test test test.
inactivist [Sat, 22 Sep 2012 14:23:00 +0000 (07:23 -0700)]
Fix bogus commit - test test test.

12 years agoFixes for tweepy/tweepy issue #208
inactivist [Fri, 21 Sep 2012 15:05:41 +0000 (08:05 -0700)]
Fixes for tweepy/tweepy issue #208
(https://github.com/tweepy/tweepy/issues/208)
 merged from origin/http_dumper branch...

12 years agoTweepy issue #205: Adding stall_warnings support to Stream.filter method.
inactivist [Wed, 5 Sep 2012 19:47:59 +0000 (12:47 -0700)]
Tweepy issue #205: Adding stall_warnings support to Stream.filter method.

12 years agoRemove hardcoded version numbers
Alejandro Gómez [Wed, 5 Sep 2012 16:32:32 +0000 (18:32 +0200)]
Remove hardcoded version numbers

12 years agoGet retweets by user
Alejandro Gómez [Wed, 5 Sep 2012 15:59:42 +0000 (17:59 +0200)]
Get retweets by user

12 years agoMerge pull request #160 from hdemers/fix-memcache-get
Joshua Roesslein [Sun, 19 Aug 2012 09:37:47 +0000 (02:37 -0700)]
Merge pull request #160 from hdemers/fix-memcache-get

Fix `memcache.get` duplicated `key` arg.

12 years agoMerge pull request #156 from kodkultur/master
Joshua Roesslein [Sun, 19 Aug 2012 09:31:09 +0000 (02:31 -0700)]
Merge pull request #156 from kodkultur/master

Implemented /friendships/lookup

12 years agoDeprecating and removing tweepyshell.
Joshua Roesslein [Sun, 19 Aug 2012 09:20:20 +0000 (02:20 -0700)]
Deprecating and removing tweepyshell.

12 years agoBump version to 1.11.
Joshua Roesslein [Wed, 15 Aug 2012 05:42:47 +0000 (22:42 -0700)]
Bump version to 1.11.

12 years agoMerge pull request #163 from webisteme/fav
Joshua Roesslein [Thu, 2 Aug 2012 04:34:49 +0000 (21:34 -0700)]
Merge pull request #163 from webisteme/fav

Added max_id param to favorites API method

12 years agoMerge pull request #185 from alejandrogomez/master
Joshua Roesslein [Thu, 2 Aug 2012 04:29:08 +0000 (21:29 -0700)]
Merge pull request #185 from alejandrogomez/master

Add missing parameters to `verify_credentials`

12 years agoMerge pull request #189 from vinsonlee/remove-public_timeline
Joshua Roesslein [Fri, 20 Jul 2012 05:30:14 +0000 (22:30 -0700)]
Merge pull request #189 from vinsonlee/remove-public_timeline

Remove deprecated statuses/public_timeline.

12 years agoRemove deprecated statuses/public_timeline.
Vinson Lee [Tue, 17 Jul 2012 05:17:11 +0000 (22:17 -0700)]
Remove deprecated statuses/public_timeline.

Signed-off-by: Vinson Lee <vlee@twitter.com>
12 years agoMerge pull request #186 from jeunito/streaming_example
Joshua Roesslein [Fri, 13 Jul 2012 05:54:59 +0000 (22:54 -0700)]
Merge pull request #186 from jeunito/streaming_example

streaming example

12 years agoparse datetime for `tweepy.models.List` objects
Alejandro Gómez [Thu, 12 Jul 2012 16:45:19 +0000 (18:45 +0200)]
parse datetime for `tweepy.models.List` objects

12 years agoMerge pull request #187 from jschauma/master
Joshua Roesslein [Tue, 10 Jul 2012 21:23:11 +0000 (14:23 -0700)]
Merge pull request #187 from jschauma/master

Trivially add support for retweeted_by_user

12 years agoretweeted_by_user requres an argument
Jan Schaumann [Tue, 10 Jul 2012 13:33:14 +0000 (09:33 -0400)]
retweeted_by_user requres an argument

12 years agochanged streaming.py to oauth from basic auth
Jose Asuncion [Tue, 10 Jul 2012 11:44:57 +0000 (19:44 +0800)]
changed streaming.py to oauth from basic auth

12 years agodon't bump version, fix tyop
Jan Schaumann [Mon, 9 Jul 2012 13:41:09 +0000 (09:41 -0400)]
don't bump version, fix tyop

12 years agoBump version to 1.10.
Joshua Roesslein [Mon, 9 Jul 2012 06:46:34 +0000 (23:46 -0700)]
Bump version to 1.10.

12 years agoFix userstreams. Use delimited!
Joshua Roesslein [Mon, 9 Jul 2012 06:31:54 +0000 (23:31 -0700)]
Fix userstreams. Use delimited!

12 years agoMerge pull request #179 from vinsonlee/use-oauth-in-tests
Joshua Roesslein [Mon, 9 Jul 2012 06:05:21 +0000 (23:05 -0700)]
Merge pull request #179 from vinsonlee/use-oauth-in-tests

Use OAuth for authentication in unit tests.

12 years agoFix streaming to properly parse next object length.
Joshua Roesslein [Mon, 9 Jul 2012 05:51:27 +0000 (22:51 -0700)]
Fix streaming to properly parse next object length.

12 years agoAdd support for retweeted_by_user:
Jan Schaumann [Fri, 6 Jul 2012 19:35:02 +0000 (15:35 -0400)]
Add support for retweeted_by_user:
https://dev.twitter.com/docs/api/1/get/statuses/retweeted_by_user

12 years agostreaming example
Jose Asuncion [Fri, 6 Jul 2012 00:19:14 +0000 (17:19 -0700)]
streaming example

12 years agoExplicit imports and removal of unused variables
Alejandro Gómez [Thu, 5 Jul 2012 19:23:21 +0000 (21:23 +0200)]
Explicit imports and removal of unused variables

12 years agoAdd missing parameters to `verify_credentials`
Alejandro Gómez [Thu, 5 Jul 2012 19:32:30 +0000 (21:32 +0200)]
Add missing parameters to `verify_credentials`

As described in the Twitter API docs, the `verify_credentials`
method accepts the optional `include_entities` and `skip_status`
parameters.

    https://dev.twitter.com/docs/api/1/get/account/verify_credentials

I've modified `tweepy.API.verify_credentials` for allowing these
parameters and expanded `tests.testverifycredentials` to test the
new functionality

12 years agoUse OAuth for authentication in unit tests.
Vinson Lee [Fri, 8 Jun 2012 06:33:31 +0000 (23:33 -0700)]
Use OAuth for authentication in unit tests.

Basic Auth is no longer supported.

Signed-off-by: Vinson Lee <vlee@twitter.com>
12 years agoMerge pull request #168 from srj55.
Joshua Roesslein [Tue, 17 Apr 2012 16:12:08 +0000 (11:12 -0500)]
Merge pull request #168 from srj55.

Conflicts:
tweepy/streaming.py

12 years agoUpdate tweepy/streaming.py
Steve Jones [Tue, 17 Apr 2012 01:57:39 +0000 (22:57 -0300)]
Update tweepy/streaming.py

12 years agoUpdate to streaming read loop to use delimited stream mode.
Steve Jones [Tue, 17 Apr 2012 01:55:48 +0000 (22:55 -0300)]
Update to streaming read loop to use delimited stream mode.

1) read newlines until a digit appears
2) read rest of digits until another new line appears
3) read next status object
4) repeat

-improved speed over trunk version
-simplify loop logic
-added condition for "self.running and not resp.isclosed()" during each read-loop stage

12 years agoEncode parameters using percent-encoding for spaces.
Joshua Roesslein [Mon, 16 Apr 2012 20:58:10 +0000 (15:58 -0500)]
Encode parameters using percent-encoding for spaces.

12 years agoImplemnt an urlencode that uses quote instead.
Joshua Roesslein [Mon, 16 Apr 2012 20:57:41 +0000 (15:57 -0500)]
Implemnt an urlencode that uses quote instead.

12 years agoMerge pull request #164 from PabloCastellano/master
Joshua Roesslein [Mon, 16 Apr 2012 19:55:29 +0000 (12:55 -0700)]
Merge pull request #164 from PabloCastellano/master

fix project urls

12 years agoUpdated faster read loop code. this implementation is nearly as fast and also allows...
Steve Jones [Thu, 12 Apr 2012 04:04:43 +0000 (01:04 -0300)]
Updated faster read loop code.  this implementation is nearly as fast and also allows all tweets to fire on_status() event calls.  Previously, when the stream went silent, the most recent tweet would be stuck in the read buffer and would not fire an on_status() event call.

12 years agoFix project urls
Pablo Castellano [Mon, 9 Apr 2012 12:39:24 +0000 (14:39 +0200)]
Fix project urls

12 years agoAdded max_id param to favorites API method
Eli [Sat, 7 Apr 2012 13:27:12 +0000 (14:27 +0100)]
Added max_id param to favorites API method

12 years agoFix memcache.set duplicated `key` arg.
Hugues Demers [Mon, 2 Apr 2012 20:42:19 +0000 (16:42 -0400)]
Fix memcache.set duplicated `key` arg.

12 years agoAdded support for /friendships/lookup api call
John Gunnarsson [Mon, 19 Mar 2012 00:35:16 +0000 (01:35 +0100)]
Added support for /friendships/lookup api call

12 years agoBump to version 1.9
Joshua Roesslein [Sat, 17 Mar 2012 06:55:07 +0000 (01:55 -0500)]
Bump to version 1.9

12 years agoMerge pull request #149 from coderholic/patch-1
Joshua Roesslein [Fri, 9 Mar 2012 20:15:40 +0000 (12:15 -0800)]
Merge pull request #149 from coderholic/patch-1

lookup users API call doesn't require authentication.

12 years agoMerge pull request #144 from danfairs/faster-read-loop
Joshua Roesslein [Thu, 8 Mar 2012 05:00:25 +0000 (21:00 -0800)]
Merge pull request #144 from danfairs/faster-read-loop

Use a buffer rather than reading the Twitter response one byte at a time...

12 years agolookup users API call doesn't require authentication. See the documentation at https...
Ben Dowling [Wed, 29 Feb 2012 18:15:53 +0000 (18:15 +0000)]
lookup users API call doesn't require authentication. See the documentation at https://dev.twitter.com/docs/api/1/get/users/lookup and try the example: https://api.twitter.com/1/users/lookup.json?screen_name=twitterapi&include_entities=true

12 years agoProvide a hook for subclasses to do something when a response closes.
Dan Fairs [Sat, 4 Feb 2012 16:22:56 +0000 (16:22 +0000)]
Provide a hook for subclasses to do something when a response closes.

12 years agoCheck that the response is not closed each time around the loop.
Dan Fairs [Sat, 4 Feb 2012 16:22:34 +0000 (16:22 +0000)]
Check that the response is not closed each time around the loop.

12 years agoUse a buffer rather than reading the Twitter response one byte at a time. This actual...
Dan Fairs [Tue, 31 Jan 2012 15:47:38 +0000 (15:47 +0000)]
Use a buffer rather than reading the Twitter response one byte at a time. This actually respects the buffer_size option that was already there, but unused.

12 years agoMerge pull request #136 from rdennis463/geo_search
Joshua Roesslein [Thu, 29 Dec 2011 01:06:17 +0000 (17:06 -0800)]
Merge pull request #136 from rdennis463/geo_search

added the geo_search API method,

12 years agoadded the geo_search API method, no attribute:street_address support at this time
Robert Dennis [Mon, 28 Nov 2011 01:59:45 +0000 (20:59 -0500)]
added the geo_search API method, no attribute:street_address support at this time

13 years agoMerge pull request #122 from cduruk/parser
Joshua Roesslein [Sun, 13 Nov 2011 06:30:16 +0000 (22:30 -0800)]
Merge pull request #122 from cduruk/parser

Add a RawParser to access JSON objects directly

13 years agoMerge pull request #123 from nloadholtes/nloadholtes-examples
Joshua Roesslein [Sun, 13 Nov 2011 06:29:00 +0000 (22:29 -0800)]
Merge pull request #123 from nloadholtes/nloadholtes-examples

A new example of how to use oauth

13 years agoMerge pull request #124 from reuteras/httplib-fix
Joshua Roesslein [Sun, 13 Nov 2011 06:26:14 +0000 (22:26 -0800)]
Merge pull request #124 from reuteras/httplib-fix

Fix for newer version of httplib

13 years agoVersion 1.8
Joshua Roesslein [Tue, 1 Nov 2011 04:06:54 +0000 (23:06 -0500)]
Version 1.8

13 years agoOnly return cursors if needed.
Joshua Roesslein [Tue, 1 Nov 2011 04:05:31 +0000 (23:05 -0500)]
Only return cursors if needed.

13 years agoConnect to streaming API using HTTPS by default.
Joshua Roesslein [Thu, 20 Oct 2011 18:15:43 +0000 (13:15 -0500)]
Connect to streaming API using HTTPS by default.

https://dev.twitter.com/blog/streaming-api-turning-ssl-only-september-29th

13 years agoFix for newer version of httplib
Peter Reuterås [Sun, 9 Oct 2011 10:35:01 +0000 (12:35 +0200)]
Fix for newer version of httplib

httplib in python 2.7 requires that the lenght parameter is a string
and not an int.

13 years agoA new example of how to use oauth
Nick Loadholtes [Sat, 8 Oct 2011 18:49:45 +0000 (14:49 -0400)]
A new example of how to use oauth

13 years agoAdd Redis cache.
rogelio [Sat, 1 Oct 2011 05:48:21 +0000 (00:48 -0500)]
Add Redis cache.

13 years agoModified MemCacheCache to raise NotImplementedError instead of returning false data.
rogelio [Sat, 1 Oct 2011 05:40:18 +0000 (00:40 -0500)]
Modified MemCacheCache to raise NotImplementedError instead of returning false data.

13 years agoFallback to pickle module if CPickle not found.
rogelio [Sat, 1 Oct 2011 05:36:55 +0000 (00:36 -0500)]
Fallback to pickle module if CPickle not found.

13 years agoMerge pull request #113 from meetar/patch-1
Joshua Roesslein [Sat, 1 Oct 2011 05:17:52 +0000 (22:17 -0700)]
Merge pull request #113 from meetar/patch-1

Edited username in github url from joshthecoder to tweepy

13 years agoMerge pull request #114 from meetar/patch-2
Joshua Roesslein [Sat, 1 Oct 2011 05:17:27 +0000 (22:17 -0700)]
Merge pull request #114 from meetar/patch-2

Edited username in setup.py from joshthecoder to tweepy

13 years agoAdded a use_cache flag to calls. Default is true.
rogelio [Wed, 15 Jun 2011 19:23:11 +0000 (14:23 -0500)]
Added a use_cache flag to calls. Default is true.

This is to avoid caching calls like rate_limit_status which shouldn't ever be cached.

Binder was modified to only cache when the flag is true.

13 years agoAdd a RawParser to access JSON objects directly
Can Duruk [Fri, 30 Sep 2011 00:39:57 +0000 (17:39 -0700)]
Add a RawParser to access JSON objects directly

13 years agoEdited setup.py via GitHub
Peter Richardson [Tue, 26 Jul 2011 19:25:06 +0000 (16:25 -0300)]
Edited setup.py via GitHub

13 years agoEdited username in github url from joshthecoder to tweepy
Peter Richardson [Tue, 26 Jul 2011 19:23:11 +0000 (16:23 -0300)]
Edited username in github url from joshthecoder to tweepy

13 years agoMerge pull request #105 from hmarr/dms-show
Joshua Roesslein [Thu, 26 May 2011 05:50:34 +0000 (22:50 -0700)]
Merge pull request #105 from hmarr/dms-show

Added method for direct_messages/show

13 years agoAdded method for direct_messages/show
Harry Marr [Thu, 19 May 2011 09:37:12 +0000 (10:37 +0100)]
Added method for direct_messages/show

13 years agoUpdate README.
Josh Roesslein [Wed, 11 May 2011 06:07:57 +0000 (01:07 -0500)]
Update README.

13 years agoAdd Basic Authentication example.
Josh Roesslein [Wed, 11 May 2011 04:15:25 +0000 (23:15 -0500)]
Add Basic Authentication example.

13 years agoMerged pull request #99 from panisson/master.
Joshua Roesslein [Mon, 25 Apr 2011 17:14:04 +0000 (10:14 -0700)]
Merged pull request #99 from panisson/master.

Overriding stack trace on streaming.py

13 years agoThe "raise exception" is overriding the stack trace and hiding all errors, a simple...
André Panisson [Mon, 18 Apr 2011 16:57:08 +0000 (09:57 -0700)]
The "raise exception" is overriding the stack trace and hiding all errors, a simple "raise" should be fine.

13 years agoDocument installation.
Josh Roesslein [Sat, 16 Apr 2011 00:58:36 +0000 (19:58 -0500)]
Document installation.