tweepy.git
14 years agoFix path template bug.
Joshua Roesslein [Tue, 8 Dec 2009 07:07:15 +0000 (01:07 -0600)]
Fix path template bug.

14 years agoUpdate API methods to use path templates.
Joshua Roesslein [Tue, 8 Dec 2009 06:26:59 +0000 (00:26 -0600)]
Update API methods to use path templates.

14 years agoAdded tweepy.debug() method that allows enabling debug info printing.
Joshua Roesslein [Tue, 8 Dec 2009 06:11:15 +0000 (00:11 -0600)]
Added tweepy.debug() method that allows enabling debug info printing.

Currently this just sets httplib.HTTPConnection.debuglevel=1.

14 years agoAllow template variables in binder_api() paths.
Joshua Roesslein [Tue, 8 Dec 2009 06:09:47 +0000 (00:09 -0600)]
Allow template variables in binder_api() paths.

Example:
    m = bind_api(path='/test/{id}', allowed_param=['id'])
    m(id=123)

14 years agoAdded new local trends methods.
Joshua Roesslein [Tue, 8 Dec 2009 05:11:49 +0000 (23:11 -0600)]
Added new local trends methods.

14 years agoAdd some tests for retweet methods.
Joshua Roesslein [Tue, 8 Dec 2009 05:03:19 +0000 (23:03 -0600)]
Add some tests for retweet methods.

14 years agoUpdate changelog and contributors.
Joshua Roesslein [Tue, 8 Dec 2009 01:49:01 +0000 (19:49 -0600)]
Update changelog and contributors.

14 years agoFix API.retweet() method.
Ferenc Szalai [Tue, 8 Dec 2009 01:43:34 +0000 (19:43 -0600)]
Fix API.retweet() method.

Signed-off-by: Joshua Roesslein <jroesslein@gmail.com>
14 years agoUpdate tweepyshell to prompt for password via getpass() if not provided at commandline.
Kumar Appaiah [Sun, 6 Dec 2009 05:23:11 +0000 (23:23 -0600)]
Update tweepyshell to prompt for password via getpass() if not provided at commandline.

For those who aren't comfortable running processes which require
passwords from the command line, provide an alternative by asking for
the password with the getpass function.

Signed-off-by: Joshua <jroesslein@gmail.com>
15 years agoAllow passing custom API instance into stream listener.
Joshua [Mon, 30 Nov 2009 05:19:31 +0000 (23:19 -0600)]
Allow passing custom API instance into stream listener.

15 years agoAdd "on_data" method to stream listener to allow for access raw stream data.
Joshua [Mon, 30 Nov 2009 05:08:24 +0000 (23:08 -0600)]
Add "on_data" method to stream listener to allow for access raw stream data.

15 years agoMerge branch 'master' of git@github.com:joshthecoder/tweepy
Joshua [Mon, 30 Nov 2009 00:30:33 +0000 (18:30 -0600)]
Merge branch 'master' of git@github.com:joshthecoder/tweepy

15 years agoTry using simplejson first, and if not found then try using built-in json module.
Joshua [Mon, 30 Nov 2009 00:21:40 +0000 (18:21 -0600)]
Try using simplejson first, and if not found then try using built-in json module.

15 years agoFix 'source' parameter parsing in statuses.
Joshua Roesslein [Wed, 25 Nov 2009 00:16:07 +0000 (18:16 -0600)]
Fix 'source' parameter parsing in statuses.

15 years agoThe streaming API Stream object can be run either in async/synch modes. See CHANGELOG...
Joshua Roesslein [Fri, 20 Nov 2009 06:41:18 +0000 (00:41 -0600)]
The streaming API Stream object can be run either in async/synch modes. See CHANGELOG for details.

15 years agoMove parameters into POST body in streaming.py to avoid "head too big" errors. Thanks...
Joshua Roesslein [Fri, 20 Nov 2009 06:04:52 +0000 (00:04 -0600)]
Move parameters into POST body in streaming.py to avoid "head too big" errors. Thanks Pascal!

15 years agoUpdate contributors file.
Joshua Roesslein [Fri, 20 Nov 2009 05:47:00 +0000 (23:47 -0600)]
Update contributors file.

15 years agoBump version to 1.4
Joshua Roesslein [Thu, 19 Nov 2009 17:53:42 +0000 (11:53 -0600)]
Bump version to 1.4

15 years agoAdd users search API method. API.search_users().
Joshua Roesslein [Tue, 17 Nov 2009 02:32:41 +0000 (20:32 -0600)]
Add users search API method. API.search_users().

15 years agoAdded tests for list methods.
Josh Roesslein [Sat, 14 Nov 2009 05:14:27 +0000 (23:14 -0600)]
Added tests for list methods.

15 years agoFix some python 2.4 issues.
Josh Roesslein [Sat, 14 Nov 2009 05:14:16 +0000 (23:14 -0600)]
Fix some python 2.4 issues.

15 years agoFix pagination on some of the API methods.
Josh Roesslein [Fri, 13 Nov 2009 02:41:57 +0000 (20:41 -0600)]
Fix pagination on some of the API methods.

15 years agoMove install instructions out of readme and into install file.
Josh Roesslein [Sat, 7 Nov 2009 20:26:51 +0000 (14:26 -0600)]
Move install instructions out of readme and into install file.

15 years agoSome updates to list methods.
Josh Roesslein [Sat, 7 Nov 2009 20:00:20 +0000 (14:00 -0600)]
Some updates to list methods.

15 years agoUpdate retweet parsing for new payload format.
Josh Roesslein [Fri, 6 Nov 2009 23:53:14 +0000 (17:53 -0600)]
Update retweet parsing for new payload format.

15 years agoUpdate parsers to remove some redundant code.
Josh Roesslein [Fri, 6 Nov 2009 23:29:43 +0000 (17:29 -0600)]
Update parsers to remove some redundant code.

15 years agoSome model updates.
Josh Roesslein [Fri, 6 Nov 2009 23:16:48 +0000 (17:16 -0600)]
Some model updates.

15 years agoAdded back the tweepyshell.
Josh Roesslein [Fri, 6 Nov 2009 22:48:27 +0000 (16:48 -0600)]
Added back the tweepyshell.

15 years agoUse versioned API and the api.twitter.com domain.
Josh Roesslein [Fri, 6 Nov 2009 22:39:45 +0000 (16:39 -0600)]
Use versioned API and the api.twitter.com domain.

15 years agoUpdate readme
Josh Roesslein [Fri, 6 Nov 2009 20:15:53 +0000 (14:15 -0600)]
Update readme

15 years agoFix bug in cursor that would cause an error to happen with empty data results.
Josh Roesslein [Fri, 6 Nov 2009 01:20:00 +0000 (19:20 -0600)]
Fix bug in cursor that would cause an error to happen with empty data results.

15 years agoUpdate ignore file.
Josh Roesslein [Thu, 5 Nov 2009 23:18:56 +0000 (17:18 -0600)]
Update ignore file.

15 years agoRemoved memcache.py module.
Josh Roesslein [Wed, 4 Nov 2009 20:15:47 +0000 (14:15 -0600)]
Removed memcache.py module.

15 years agoMoved memcache implementation to extensions repository.
Josh Roesslein [Wed, 4 Nov 2009 20:15:12 +0000 (14:15 -0600)]
Moved memcache implementation to extensions repository.

15 years agoAdded Lists API methods.
Josh Roesslein [Tue, 3 Nov 2009 00:11:10 +0000 (18:11 -0600)]
Added Lists API methods.

15 years agoMove streamwatcher and tweepyshell to examples repository.
Josh Roesslein [Mon, 2 Nov 2009 22:22:38 +0000 (16:22 -0600)]
Move streamwatcher and tweepyshell to examples repository.

15 years agoReadme update.
Josh Roesslein [Mon, 2 Nov 2009 22:19:06 +0000 (16:19 -0600)]
Readme update.

15 years agoRemove examples and move into tweepy-examples repository.
Josh Roesslein [Mon, 2 Nov 2009 22:13:17 +0000 (16:13 -0600)]
Remove examples and move into tweepy-examples repository.

15 years agoUpdate readme and bump version # to 1.3
Josh Roesslein [Mon, 2 Nov 2009 22:10:28 +0000 (16:10 -0600)]
Update readme and bump version # to 1.3

15 years agoupdate readme
Josh Roesslein [Mon, 2 Nov 2009 22:09:35 +0000 (16:09 -0600)]
update readme

15 years agoRemove tutorials from version control. Will be moved to wiki.
Josh Roesslein [Mon, 2 Nov 2009 22:08:34 +0000 (16:08 -0600)]
Remove tutorials from version control. Will be moved to wiki.

15 years agoRemove documentation blocks from api.py
Josh Roesslein [Mon, 2 Nov 2009 22:06:55 +0000 (16:06 -0600)]
Remove documentation blocks from api.py

15 years agoSome minor fixes to API.
Josh Roesslein [Mon, 2 Nov 2009 21:58:22 +0000 (15:58 -0600)]
Some minor fixes to API.

15 years agoRemove model validation.
Josh Roesslein [Sat, 31 Oct 2009 19:19:04 +0000 (14:19 -0500)]
Remove model validation.

15 years agoRemove auth requirement from API.followers()
Josh Roesslein [Sat, 31 Oct 2009 19:09:57 +0000 (14:09 -0500)]
Remove auth requirement from API.followers()

15 years agoUpdate change log.
Josh Roesslein [Sat, 31 Oct 2009 07:05:19 +0000 (02:05 -0500)]
Update change log.

15 years agoUpdate oauth library.
Josh Roesslein [Sat, 31 Oct 2009 07:04:50 +0000 (02:04 -0500)]
Update oauth library.

15 years agoUpdate test shell.
Josh Roesslein [Sat, 31 Oct 2009 07:03:16 +0000 (02:03 -0500)]
Update test shell.

15 years agoBegin work on lists API
Josh Roesslein [Sat, 31 Oct 2009 02:21:35 +0000 (21:21 -0500)]
Begin work on lists API

15 years agoAdd parser for lists.
Josh Roesslein [Sat, 31 Oct 2009 01:20:28 +0000 (20:20 -0500)]
Add parser for lists.

15 years agoAdd link to tweepy's wiki in readme.
Josh Roesslein [Fri, 16 Oct 2009 05:39:28 +0000 (00:39 -0500)]
Add link to tweepy's wiki in readme.

15 years agoUpdate readme.
Josh Roesslein [Fri, 16 Oct 2009 04:36:16 +0000 (23:36 -0500)]
Update readme.

15 years agoPython 2.4 support completed! Update readme and changelog
Josh Roesslein [Thu, 15 Oct 2009 23:53:28 +0000 (18:53 -0500)]
Python 2.4 support completed! Update readme and changelog

15 years agoTest updates.
Josh Roesslein [Thu, 15 Oct 2009 23:52:18 +0000 (18:52 -0500)]
Test updates.

15 years agoSome more python 2.4 porting.
Josh Roesslein [Thu, 15 Oct 2009 23:13:02 +0000 (18:13 -0500)]
Some more python 2.4 porting.

15 years agoPort cache system to python 2.4
Josh Roesslein [Thu, 15 Oct 2009 22:50:28 +0000 (17:50 -0500)]
Port cache system to python 2.4

15 years agoChange to absolute imports.
Josh Roesslein [Thu, 15 Oct 2009 21:21:34 +0000 (16:21 -0500)]
Change to absolute imports.

15 years agoHandle failures during send of request to twitter. This mainly happens if we are...
Josh Roesslein [Thu, 15 Oct 2009 18:33:19 +0000 (13:33 -0500)]
Handle failures during send of request to twitter. This mainly happens if we are unable to connect to twitter due to network outage or twitter being offline.

15 years agoTest fix.
Josh Roesslein [Thu, 15 Oct 2009 17:57:46 +0000 (12:57 -0500)]
Test fix.

15 years agoRemove debug print.
Josh Roesslein [Thu, 15 Oct 2009 02:05:04 +0000 (21:05 -0500)]
Remove debug print.

15 years agoUpdate tests.
Josh Roesslein [Wed, 14 Oct 2009 22:18:24 +0000 (17:18 -0500)]
Update tests.

15 years agoOnly utf-8 encode unicode parameters in binder.
Josh Roesslein [Wed, 14 Oct 2009 22:18:05 +0000 (17:18 -0500)]
Only utf-8 encode unicode parameters in binder.

15 years agoAdd API.report_spam method.
Josh Roesslein [Wed, 14 Oct 2009 21:42:13 +0000 (16:42 -0500)]
Add API.report_spam method.

15 years agoEncode parameters in binder to utf-8
Josh Roesslein [Wed, 14 Oct 2009 20:19:29 +0000 (15:19 -0500)]
Encode parameters in binder to utf-8

15 years agoFix error message reporting.
Josh Roesslein [Wed, 14 Oct 2009 19:09:33 +0000 (14:09 -0500)]
Fix error message reporting.

15 years agoAdd Status.retweet, Status.favorite, and Status.retweets methods.
Josh Roesslein [Wed, 14 Oct 2009 18:24:07 +0000 (13:24 -0500)]
Add Status.retweet, Status.favorite, and Status.retweets methods.

15 years agoadd images used in tests to examples.
Josh Roesslein [Wed, 14 Oct 2009 18:17:59 +0000 (13:17 -0500)]
add images used in tests to examples.

15 years agoAdd tests for Cursors.
Josh Roesslein [Wed, 14 Oct 2009 18:17:27 +0000 (13:17 -0500)]
Add tests for Cursors.

15 years agoUpdate tutorial 4.
Josh Roesslein [Wed, 14 Oct 2009 17:55:56 +0000 (12:55 -0500)]
Update tutorial 4.

15 years agoSome test changes.
Josh Roesslein [Wed, 14 Oct 2009 17:54:24 +0000 (12:54 -0500)]
Some test changes.

15 years agoFix favorites methods. Retry request when enabled by defaults will retry on any non...
Josh Roesslein [Wed, 14 Oct 2009 17:30:36 +0000 (12:30 -0500)]
Fix favorites methods. Retry request when enabled by defaults will retry on any non-200 error. If retry_errors list is supplied it will then only retry when those status codes are returned by twitter.

15 years agoFix image upload methods.
Josh Roesslein [Wed, 14 Oct 2009 16:18:17 +0000 (11:18 -0500)]
Fix image upload methods.

15 years agoAdd more test coverage of API.
Josh Roesslein [Wed, 14 Oct 2009 16:17:57 +0000 (11:17 -0500)]
Add more test coverage of API.

15 years agoUpdate tutorial 4 to demo retry request feature.
Josh Roesslein [Tue, 13 Oct 2009 23:18:30 +0000 (18:18 -0500)]
Update tutorial 4 to demo retry request feature.

15 years agoLimit retries to 500,502,503 errors by default. Developer can also supply what status...
Josh Roesslein [Tue, 13 Oct 2009 23:02:48 +0000 (18:02 -0500)]
Limit retries to 500,502,503 errors by default. Developer can also supply what status codes to retry on.

15 years agoAllow defining retry count and delay defaults on API object.
Josh Roesslein [Tue, 13 Oct 2009 22:45:35 +0000 (17:45 -0500)]
Allow defining retry count and delay defaults on API object.

Example: api.retry_count = 5  --> retry failed requests 5 times maxium

15 years agoSome binder optimizations.
Josh Roesslein [Tue, 13 Oct 2009 22:39:01 +0000 (17:39 -0500)]
Some binder optimizations.

15 years agoFix Cursor pagination mode detection.
Josh Roesslein [Tue, 13 Oct 2009 22:19:22 +0000 (17:19 -0500)]
Fix Cursor pagination mode detection.

15 years agoBump version to 1.2 for next release.
Josh Roesslein [Tue, 13 Oct 2009 20:15:33 +0000 (15:15 -0500)]
Bump version to 1.2 for next release.

15 years agoUpdate readme and change log.
Josh Roesslein [Tue, 13 Oct 2009 17:38:26 +0000 (12:38 -0500)]
Update readme and change log.

15 years agoUpdate OAuth library.
Josh Roesslein [Mon, 12 Oct 2009 06:12:30 +0000 (01:12 -0500)]
Update OAuth library.

15 years agoReadme update.
Josh Roesslein [Mon, 12 Oct 2009 06:12:22 +0000 (01:12 -0500)]
Readme update.

15 years agoCorrect typo in folder name.
Josh Roesslein [Mon, 12 Oct 2009 05:57:59 +0000 (00:57 -0500)]
Correct typo in folder name.

15 years agoRemove logging system.
Josh Roesslein [Mon, 12 Oct 2009 05:56:36 +0000 (00:56 -0500)]
Remove logging system.

15 years agoAdd automatic retry failed request feature.
Josh Roesslein [Mon, 12 Oct 2009 05:46:49 +0000 (00:46 -0500)]
Add automatic retry failed request feature.

15 years agoGive credit to Fredrik Lundh for html unescape code.
Josh Roesslein [Mon, 12 Oct 2009 05:21:25 +0000 (00:21 -0500)]
Give credit to Fredrik Lundh for html unescape code.

15 years agoFix parsing of search result 'source' attribute. Properly unescape html.
Josh Roesslein [Mon, 12 Oct 2009 05:13:26 +0000 (00:13 -0500)]
Fix parsing of search result 'source' attribute. Properly unescape html.

15 years agoFix streaming API regression. Thanks Pascal Jurgens!
Josh Roesslein [Sat, 3 Oct 2009 19:13:18 +0000 (14:13 -0500)]
Fix streaming API regression. Thanks Pascal Jurgens!

15 years agoUpdate change log.
Josh Roesslein [Thu, 1 Oct 2009 20:47:45 +0000 (15:47 -0500)]
Update change log.

15 years agoFix Status.source_url parsing.
Josh Roesslein [Thu, 1 Oct 2009 20:46:47 +0000 (15:46 -0500)]
Fix Status.source_url parsing.

15 years agoAdd an oauth example script.
Josh Roesslein [Tue, 29 Sep 2009 06:37:28 +0000 (01:37 -0500)]
Add an oauth example script.

15 years agoFix some spell errors in tutorial
Josh Roesslein [Tue, 29 Sep 2009 05:44:32 +0000 (00:44 -0500)]
Fix some spell errors in tutorial

15 years agoUpdate
Josh Roesslein [Tue, 29 Sep 2009 05:43:01 +0000 (00:43 -0500)]
Update

15 years agoBegin writing tutorial 6 - Pagination
Josh Roesslein [Tue, 29 Sep 2009 05:39:59 +0000 (00:39 -0500)]
Begin writing tutorial 6 - Pagination

15 years agoFix Cursor.items() to use limit parameter.
Josh Roesslein [Tue, 29 Sep 2009 05:38:49 +0000 (00:38 -0500)]
Fix Cursor.items() to use limit parameter.

15 years agoImplemented items iterator for pagination.
Josh Roesslein [Tue, 29 Sep 2009 05:04:55 +0000 (00:04 -0500)]
Implemented items iterator for pagination.

15 years agoImplemented "cursor" based Cursor iterator.
Josh Roesslein [Tue, 29 Sep 2009 03:47:56 +0000 (22:47 -0500)]
Implemented "cursor" based Cursor iterator.

15 years agoUpdate parsers to handle cursor responses. API.friends_ids and API.followers_ids...
Josh Roesslein [Tue, 29 Sep 2009 03:25:03 +0000 (22:25 -0500)]
Update parsers to handle cursor responses. API.friends_ids and API.followers_ids now return a list of integers.

15 years agoMove json parsing out of parsers and into binder.
Josh Roesslein [Tue, 29 Sep 2009 02:50:43 +0000 (21:50 -0500)]
Move json parsing out of parsers and into binder.

15 years agoAdded Cursor object to help with pagination. "page" based pagination working.
Josh Roesslein [Tue, 29 Sep 2009 02:28:54 +0000 (21:28 -0500)]
Added Cursor object to help with pagination. "page" based pagination working.