Commit graph

39 commits

Author SHA1 Message Date
Denis Veselov
a2e95d40ef add myTotals endpoint for py3k 2012-08-28 00:49:09 +04:00
Ryan McGrath
aabd29a01e Swap http => https for endpoint access, added Voulnet to contributers in the README 2012-04-19 18:38:10 -04:00
Ryan McGrath
9deced8f8b v1.5.0 release
- requests is now the default url/http library, thanks to Mike Helmick
- Initial pass at a Streaming API is now included (Twython.stream()), due to how easy
    requests makes it. Would actually be sad if we *didn't* have this... thanks, Kenneth. >_>;
- Return of shortenURL, for people who may have relied on it before.
- Deleted streaming handler that existed before but never got implemented fully.
- Exceptions now prefixed with Twython, but brought back originals with a more verbose error directing
    people to new ones, deprecate fully in future.
- Twython3k now has an OAuth fix for callback_urls, though it still relies on httplib2. Thanks @jbouvier!
- Added a list of contributors to the README files, something which I should have done long ago. Thank you all.
2012-03-21 19:21:34 +01:00
Ryan McGrath
a4334bb67d Somewhat bring 3k up to par; currently way behind, will fix after finishing Requests merge 2012-01-15 14:06:37 -05:00
Mesar Hameed
262b7441d4 Get rid of __getattr__ since the endpoints are directly
registered into Twython by the constructor.
2011-12-19 20:39:21 +00:00
Mesar Hameed
4710c49b28 Allow for easier debugging/development, by registering endpoints directly into Twython3k. 2011-11-30 14:30:58 +00:00
Ryan McGrath
226f129edb Copy new endpoint to Twython3k, bump release 2011-10-27 02:32:28 +09:00
Ryan McGrath
d2d74b2b4d ...and remove the import... 2011-10-07 06:41:29 +09:00
Ryan McGrath
446d1e0c18 Fix issue #45, mimetools.choose_boundary => email.generator._make_boundary() 2011-10-07 06:40:15 +09:00
Ryan McGrath
e92f648b81 Fix issue #44, typo 2011-10-07 06:27:24 +09:00
Ryan McGrath
d89b2735bb Version bump, fixes to the 3k build (courtesy of wescpy), decode all responses before JSON parsing, 1.4.4 release 2011-10-07 05:20:33 +09:00
Ryan McGrath
467f27a2a3 Ah, this was pretty out of date! Thanks to wescpy for the heads up. 2011-10-07 05:12:16 +09:00
kracekumar
1d737b67d9 Modified searchTwitter() -> search(), searchTwitterGen() -> searchGen() in twython3k 2011-10-05 19:04:24 +05:30
kracekumar
7c5787ce26 changed searchTwitter() to search() 2011-10-03 23:39:29 +05:30
Ryan McGrath
9f8c04b0f2 Patch for Python 2.5; inspect.getargspec() doesn't return a named tuple pre-2.6, so catch on AttributeError and just check in the entire tuple. Increment to 1.4.1 and pushed to Pypi for the sake of 2.5 users. 2011-02-26 01:56:28 -05:00
Ryan McGrath
7f24324507 Updating to 1.4, pushing slew of changes up to Pypi (major thanks to Hades and eriks5 for their patches). 2011-02-26 01:14:21 -05:00
Edward Hades
22fef638ab twython3k: simplejson wants string, not bytes 2011-02-26 14:04:48 +08:00
Edward Hades
af37b7f52d twython3k: removed unnecessary json magic 2011-02-26 14:04:48 +08:00
Edward Hades
c32c855f5b twython3k: fixed choose_boundary import 2011-02-26 14:04:48 +08:00
Edward Hades
f991f91cf8 twython3: fixed __init__.py 2011-02-26 14:04:48 +08:00
Ryan McGrath
b225918165 TwythonError should go off of AttributeError instead 2011-01-18 01:43:41 -05:00
Ryan McGrath
8ecdaa5bfa Fix a shortenURL reference bug pointed out by Jacob, incremental release of latest bugfixes because Pypi's been down recently 2010-12-12 14:45:03 +09:00
Ryan McGrath
931921be01 Fix for issue #25, certain search queries not being properly encoded. Thanks to momander for pointing this out... 2010-11-28 17:56:11 +09:00
Ryan McGrath
969a1b3578 Fix for issue #22 (searchTwitter failing due to args specification); searchTwitter/searchTwitterGen now default to enforcing UTF-8 conversion, constructApiURL calls fixed, guess_mime_type() function consolidated/removed, bump to version 1.3.4 for small release with bug fixes 2010-10-29 00:31:27 -04:00
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
ff46a85e13 Fixing a bug in the 3k build per request from bsavas 2010-10-14 10:11:03 -04: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
3f5fceb38b Merging recent changes over to the Twython3k build 2010-01-14 00:48:30 -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
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
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