Commit graph

31 commits

Author SHA1 Message Date
Ryan McGrath
9e1159dd6f Search API Methods, trending and regular search stuff. Cleaned up some more parts of the library. 2009-06-08 02:23:21 -04:00
Ryan McGrath
402a2dddc0 All methods now return a Python/JSON value depicting the data Twitter sends back 2009-06-08 01:26:32 -04:00
Ryan McGrath
5342fbccc6 The final REST API method, Direct Messages. Remaining targets are OAuth Authentication and the Search/Streaming APIs. 2009-06-06 22:32:21 -04:00
Ryan McGrath
4c13afd90a Added blocking methods, just a wee bit more to go... 2009-06-06 21:10:04 -04:00
Ryan McGrath
2aff3742e0 friendship() methods are now included. Just a bit more to go... 2009-06-06 19:00:22 -04:00
Ryan McGrath
3ec4805fd1 Annotating a TODO list 2009-06-04 02:38:11 -04:00
Ryan McGrath
833ad1ebe8 Added social graph methods, cleaned up notification methods, tired as all hell. 2009-06-03 03:51:55 -04:00
Ryan McGrath
23d3cca4fc Finished off the Account methods after a 3 hour session of figuring out multipart data in Python - this seriously needs to be part of the standard language. The only thing I've wished I had out of the box thus far. 2009-06-01 04:52:07 -04:00
Ryan McGrath
000d9993ee Methods for the notification API; cleaned up a lot of code, threw in more try/excepts to attempt error catching, moved certain lines behind the debug parameter 2009-06-01 00:55:46 -04:00
Ryan McGrath
4cf64e3f60 Added in methods for getting, creating, and destroying favorites 2009-06-01 00:02:47 -04:00
Ryan McGrath
4c4d1bd876 A rather large and ugly updateProfile() method, but it works. 2009-05-31 23:18:27 -04:00
Ryan McGrath
09b24fbb90 Support for ending open sessions 2009-05-31 19:57:56 -04:00
Ryan McGrath
3ca959fded Added a rate limit checker, finished off user methods with a showStatus method, cleaned up some code relating to HTTP Error codes. 2009-05-29 02:16:44 -04:00
Ryan McGrath
b6a03f918c Many, many changes. Broke out the url shortener so it's more plug and play; users can now throw in their own desired shortening service, and it should auto work. All timeline methods are now implemented, moving on to user methods next. Refactored some parts of the library that were becoming kludgy, and set an optional debug parameter that may be useful in the future. 2009-05-28 01:58:56 -04:00
Ryan McGrath
60c6aae346 Finally removed the need for httplib2, Basic HTTP Auth is now working. 2009-05-26 02:43:26 -04:00
Ryan McGrath
1887280855 Aiming to remove need for httplib2, but sadly this commit is broken. 2009-05-26 01:29:03 -04:00
Ryan McGrath
10c32e427c Added a URL shortening method that hits the is.gd API, random comments sprinkled throughout - coming along nicely. Perhaps fallbacks should be provided for when the is.gd API limit is reached? 2009-05-21 03:17:47 -04:00
Ryan McGrath
9a13b0ae3f Added a destroy method, added library checks at top of file 2009-05-17 00:56:49 -04:00
Ryan McGrath
4f70913ddb Set OAuth as the default authtype 2009-05-15 18:18:23 -04:00
Ryan McGrath
5debb9bca8 Got Basic Auth working through usage of httplib2 - Basic Auth is a horrible idea, and OAuth should be used, but it's still worth supporting for the time being. Why go and re-engineer my way around httplib when the work is already done? 2009-05-15 01:41:05 -04:00
Ryan McGrath
c47d6008a0 Worked in some try/catch support for loading and hitting the API - needs to happen for other functions as well, once I have more time. 2009-05-14 01:38:37 -04:00
Ryan McGrath
1f544c6aaf Added a method to check against the public timeline 2009-05-13 03:25:57 -04:00
Ryan McGrath
f93d02dfb9 Modifying example somewhat 2009-05-12 01:56:24 -04:00
Ryan McGrath
dda51e2f54 Abstracted out parameter passing so that it's nothing but **kwargs. Function kwargs are passed to a url-builder function and builds based off of that; should make life easier if Twitter decides to change their API parameters, because users can then change what they're passing without modifying the library. 2009-05-12 01:52:44 -04:00
Ryan McGrath
79f14afba2 Added more API support to getUserTimeline(); fixed issues with Tango not properly importing, started basic Auth shell 2009-05-08 02:37:39 -04:00
Ryan McGrath
0b29bfbbae Expanded getUserTimeline() API support 2009-05-07 21:52:17 -04:00
Ryan McGrath
777ac8e6e4 Updated tango.getUserTimeline() to take **kwargs, need to implement full API support for it 2009-05-07 01:39:42 -04:00
Ryan McGrath
5a7a0ebcc9 Renaming a function to make room for other trending search stuff 2009-05-06 02:20:50 -04:00
Ryan McGrath
f2553f81dc Implemented a trending topics search function. Returns an array of dictionary items to loop through - fairly snazzy. 2009-05-05 02:19:39 -04:00
Ryan McGrath
91fc174fdc Beginnings of Tango, an awesome Python Twitter library for Django 2009-05-04 03:09:46 -04:00
Ryan McGrath
624de61874 Basic README stuff 2009-05-04 03:09:19 -04:00