Commit graph

30 commits

Author SHA1 Message Date
Ryan McGrath
3b9527ae69 Fix constructApiURL method, version increment to fix function definitions in new versions 2010-10-20 11:22:31 -04:00
Ryan McGrath
3cef1a463f Redid some examples, moved examples to core_examples to differentiate from oauth_django_example, version bump to 1.3.2 to fix distribution errors with Pip/etc (dumb binaries were being created earlier, just throwing out the source now and letting pip handle it) 2010-10-19 16:31:09 -04:00
Ryan McGrath
eb5541e433 Twython 1.3, OAuth support is now finally included and working. Ships with an example Django application to get people started with OAuth, entire library is refactored to not be a royal clusterfsck. Enjoy. 2010-10-16 23:37:47 -04:00
Ryan McGrath
7ccf8a2baf Bump version slightly 2010-10-14 10:31:53 -04:00
Mark Liu
2a5d668801 Added a missing parameter to addListMember 2010-09-12 11:33:32 +08:00
Juan Jose Conti
e9aaaa7c39 Added a method to return a generator based in Twitter search API. 2010-08-24 11:22:03 +08:00
Randall Degges
c2f87f736c Adding some more PEP-8.
All lines should be at most 79 characters in length.
2010-08-18 14:36:18 +08:00
Randall Degges
a8ae71fd75 Adding a bit more PEP-8. 2010-08-18 14:36:01 +08:00
Randall Degges
d5b2c98fb8 PEP-8'ing imports. Also removing useless docstring.
Only the *first* docstring defined in a source file will be associated with
that module's __doc__ string. So I'm removing the second one that was there as
it is unnecessary.
2010-08-18 14:36:00 +08:00
Ryan McGrath
d630e02b6e Fixing and closing issue #15 by ebertti - getFollowersStatus() fails when only checking with ID, needs proper query string stuff. 2010-08-16 02:32:55 -07:00
Ryan McGrath
7dbbd954b2 Changing verifyCredentials to not auto-fire on class instantiation. No need to waste network resources; if anybody *wants* to verify credentials from this point onwards, you need to explicitly call instance.verifyCredentials(). This'll help with the upcoming change from Basic Auth... 2010-05-11 01:19:17 -04:00
Ryan McGrath
fc6b9e1362 Updating Trends API to reflect new endpoints. 2010-04-23 00:26:57 -04:00
Ryan McGrath
ab2dd1e2f0 Fixing createFriendship parameter passing - never needed the question mark. How did this sit for so long? 2010-04-10 01:06:37 -04:00
Ryan McGrath
fe59e56361 Added a new bulkUserLookup() method. Takes two optional arrays of user_ids or screen_names and returns data from Twitter concerning all the users in question. (e.g, lol.bulkUserLookup(user_ids=[1,2,3], screen_names=["danmcgrath", "enotionz", "shiftb"])" 2010-03-17 03:19:41 -04:00
Ryan McGrath
8bea592d97 Increment version number to 1.2; fixed a bug in updateProfileColors() wherein multiple values wouldn't get properly concatenated/url-encoded. Changed getRateLimitStatus() to accept a boolean of 'checkRequestingIP', which should hopefully make the method a little more clear for debugging purposes. 2010-02-25 02:14:14 -05:00
Ryan McGrath
30fbacb066 Merging in a changeset to fix updateProfileColors() to use a proper POST method, instead of using a GET (thanks to Pedro Varangot for the submitted patch) 2010-02-22 23:03:30 -05:00
Ryan McGrath
844c1ae235 Removing redundant code block 2010-02-10 18:51:58 -05:00
Ryan McGrath
08c0200020 Fix for destroyStatus() method returning consistent 404's - properly initiate POST, fix url to reference properly, always require string instead of number for tweet id 2010-01-10 15:28:46 -05:00
Ryan McGrath
0e878ce75d Don't pass odd null parameters for updateStatus(), Twitter has seemingly decided to barf on them 2010-01-02 06:06:20 -05:00
Ryan McGrath
a1bd6bfb85 Don't auto-kill at the 140 limit, as other languages apparently treat this differently. Leave it up to the programmer to determine length issues, I guess. 2009-12-30 03:27:59 -05:00
Ryan McGrath
25f68b2608 getListMembers() needs to always pass the id 2009-12-22 04:06:33 -05:00
Ryan McGrath
cf20f2975a Typo'd follow in a param specification, fixing... 2009-12-21 22:43:11 -05:00
Ryan McGrath
68ac67e85d Documented the new proxy use/authentication methods (see the setup() method) 2009-12-21 03:04:46 -05:00
Ryan McGrath
c40b6a6ebe import oauth as oauth to avoid namespacing conflicts in builds; setup.py now properly includes all necessary modules, fixes build problems people reported 2009-12-17 03:27:23 -05:00
Ryan McGrath
850c1011d1 Breaking down package structure a bit more 2009-12-17 03:19:42 -05:00
Ryan McGrath
a3edbb2348 New package structure; twython is now separated out into core/oauth/streaming. To maintain compatibility with older Twython versions, simply import twython like: 'import twython.core as twython' - this will allow for easier oauth/streaming development, and should hopefully fix a lot of the installation issues people kept running into with easy_install 2009-12-17 03:05:39 -05:00
Ryan McGrath
c0b56f33a7 Reorganizing structure, finally made the setup.py install function actually work - thanks to the guys in #python for their help. 2009-08-06 01:48:14 -04:00
Ryan McGrath
5ba7e99e6e Some more work on OAuth, borrowing ideas from existing implementations - parsing of responses, etc. Feel free to critique/contribute. 2009-08-04 02:20:49 -04:00
Ryan McGrath
3b22ff34ce Properly porting files... 2009-08-03 00:45:29 -04:00
Ryan McGrath
cbfa71c286 Changing over to Twython, rolled back version number to aim for a more consistent release schedule - nowhere near a 1.0 release yet... 2009-08-03 00:36:08 -04:00