Commit graph

717 commits

Author SHA1 Message Date
Mike Helmick
a3967390e1 Moved around some code, support for removing and updating Profile Banners
Line 213 needs to check for status code as well now because
remove/updating banner does not return content, only status code
2012-10-04 16:53:28 -04:00
Mike Helmick
cc31322102 Fixes #119 2012-10-04 14:10:56 -04:00
Mike Helmick
448b4f27b6 Update requests version and Twython version 2012-10-04 14:08:46 -04:00
Christopher Brown
0c25651921 Use version 1.1 for everything, especially search 2012-09-13 22:38:05 -05:00
Ryan McGrath
1d72432838 Merge pull request #115 from michaelhelmick/update-requests-version
Version bump since new endpoint added, update requests version
2012-09-12 03:06:39 -07:00
Mike Helmick
8e72adead2 Version bump since new endpoint added, update requests version 2012-08-31 14:22:48 -04:00
Ryan McGrath
d3dfec3b4c Merge pull request #114 from saippuakauppias/master
Add myTotals endpoint, courtesy of @saippuakauppias
2012-08-30 01:36:24 -07:00
Denis Veselov
a2e95d40ef add myTotals endpoint for py3k 2012-08-28 00:49:09 +04:00
Denis Veselov
156368cf6e add myTotals endpoint for py2k 2012-08-28 00:48:32 +04:00
Ryan McGrath
a489a47a67 Merge pull request #110 from jvanasco/master
better handling of API errors
2012-08-25 16:30:03 -07:00
Ryan McGrath
6dce7c9843 Merge pull request #109 from michaelhelmick/fix-params
2.3.4 release
2012-08-19 10:06:33 -07:00
jonathan vanasco
341fdd8f49 removed prints. dumb me 2012-08-01 13:53:44 -04:00
jonathan vanasco
9d21865409 adjusted the logic in the twitter response reader to better handle API errors.
this could likely be done a bit cleaner -- but this works.
2012-08-01 13:32:06 -04:00
Mike Helmick
9e5a96655d 2.3.4 release, requires requests 0.13.4 >, basically we don't have to url encode params anymore and can just pass a dict of params to the request (finally! :D) 2012-07-27 12:10:36 -04:00
Ryan McGrath
e1c4035a63 Version bump for bug-fix rollout 2012-07-25 03:56:12 +09:00
Ryan McGrath
5c5dea109e Merge pull request #107 from lucadex/master
Bugs fixed as described on Twitter yesterday to Ryan McGrath
2012-07-24 11:52:14 -07:00
lucadex
ee94028854 Update core_examples/search_results.py 2012-07-24 12:46:16 +03:00
lucadex
c5468ee1b5 Update twython/__init__.py 2012-07-24 12:45:32 +03:00
Ryan McGrath
4163fcdc44 Merge pull request #104 from Mohmmadhd/master
change  __init__.py to properly import TwythonError
2012-07-22 05:35:50 -07:00
Mohmmadhd
7986da859f Update master 2012-07-10 15:22:31 +03:00
Ryan McGrath
0bcc15ecf3 2.3.2, latest @michaelhelmick fixes 2012-06-30 01:55:30 +09:00
Mike Helmick
d864376816 Code cleanup, Update requests version
* No sense in setting self.auth twice
* Make self.client a requests.session to reuse headers and auth
* requests 0.13.2 dependency isn't needed, but doesn't hurt
2012-06-29 12:19:37 -04:00
Ryan McGrath
73a1910066 Version bump for 2.3.1 release 2012-06-30 00:52:40 +09:00
Ryan McGrath
4fa38d27ba Merge pull request #101 from mgrouchy/fix-updatestatuswithmedia-params
Fixed broken params kwargs which was breaking updateStatusWithMedia
2012-06-29 08:38:21 -07:00
Mike Helmick
f4b2ebc40a This func no longer needs to urlencode the query, _request does it 2012-06-28 11:13:49 -04:00
Mike Helmick
a9b7b836c9 Fixes #103
Fix #93 is incorrect. We can avoid this by just removing the check and
quote_plus
2012-06-28 11:08:59 -04:00
Mike Grouchy
b552913e53 Fixed broken params kwargs which was breaking updateStatusWithMedia
* params are passed as **kwargs everywhere else, so updated
_media_update to be consistent with that.
* updated to updateProfileBackgroundImage to fall in line with
 _media_update changes.
2012-06-27 09:53:35 -04:00
Mike Helmick
dfdbbec5a8 Add H6's to README.md 2012-06-25 11:54:33 -04:00
Mike Helmick
2155ae0c23 Fix error in README.md, strip some not-needed comments and fixed a ternary 2012-06-25 11:50:44 -04:00
Ryan McGrath
8ea61af4fc Documentation showcasing proper importing; kinda sorta needed. 2012-06-25 05:08:16 +09:00
Ryan McGrath
068c504030 Merge branch 'requests_image_posting' (Pull Request #91)
- Fixes for README
- Re-added a bulkUserLookup method that warns for deprecation
- Merged in @michaelhelmick's work on media and oauth2 deprecation

Conflicts:
	setup.py
	twython/twython.py
2012-06-25 05:02:57 +09:00
Ryan McGrath
79842875be Merge pull request #97 from terrycojones/call-parent-init-in-exception-classes-96
call-parent-init-in-exception-classes-96
2012-06-24 12:16:34 -07:00
Ryan McGrath
9d57f34fce Merge pull request #93 from leandroferreira/master
corrected issue when searches with "q" gets encoded twice
2012-06-24 12:15:10 -07:00
Ryan McGrath
68534e8425 Merge pull request #95 from fumieval/master
Supported Proxies
2012-06-24 12:14:44 -07:00
terrycojones
1261b7b304 Some small suggested clean-ups with error / exception processing. 2012-06-11 15:48:24 -04:00
fumieval
3f4e374911 fixed the mistake that prints proxies to console for debugging. 2012-06-03 18:43:09 +09:00
fumieval
7caa688146 Supported proxies, just added an argument to Twython.__init__. 2012-06-03 18:25:25 +09:00
Leandro Ferreira
92f9c94146 Corrected when search q gets encoded twice 2012-05-31 10:59:43 -03:00
Mike Helmick
f232b873cb 2.2.0 2012-05-30 11:35:51 -03:00
Mike Helmick
072a257a1f 2.2.0 2012-05-30 11:35:30 -03:00
Mike Helmick
0b3f36f9b6 Need to at least have requests 0.13.0 2012-05-30 11:35:03 -03:00
Ryan McGrath
0d00ae97fb 2.0.1 release, fixes auth error 2012-05-23 18:49:08 +09:00
Ryan McGrath
fff1054e48 Merge pull request #92 from michaelhelmick/auth_fixes
Auth fixes for search and callback url
2012-05-23 02:45:59 -07:00
Michael Helmick
fc9e21435e Auth fixes for search and callback url 2012-05-22 10:40:38 -04:00
Michael Helmick
d93b48cded 2.1.0 Release
Set `self.auth` = None so that calls (like searching or getting a
profile avatar don't error out) Fixes 90
2012-05-17 12:22:37 -04:00
Michael Helmick
32a83a6b79 2.1.0 Release
* .md just look cleaner
* Updating documentation to look clean, imo. :P
2012-05-16 18:39:31 -04:00
Michael Helmick
5e817195ac 2.1.0 Release
* Removal of oauth2 lib, `requests` has fully taken over. :)
* FIXED: Obtaining auth url with specified callback was broke..
wouldn't give you auth url if you specified a callback url
* Updated requests to pass the headers that are passed in the init, so
User-Agent is once again `Twython Python Twitter Library v2.1.0`
👍 :)
* Catching exception when Stream API doesn't return valid JSON to parse
* Removed `DELETE` method. As of the Spring 2012 clean up, Twitter no
longer supports this method
* Updated `post` internal func to take files as kwarg
* `params - params or {}` only needs to be done in `_request`, just a
lot of redundant code on my part, sorry ;P
* Removed `bulkUserLookup`, there is no need for this to be a special
case, anyone can pass a string of username or user ids and chances are
if they're reading the docs and using this library they'll understand
how to use `lookupUser()` in `twitter_endpoints.py` passing params
provided in the Twitter docs
* Changed internal `oauth_secret` variable to be more consistent with
the keyword arg in the init `oauth_token_secret`
2012-05-16 12:09:26 -04:00
Michael Helmick
f2cd0d5284 2.1.0 release
* README.rst, kind of tried to clean up docs with more examples
* No longer need oauth2 lib 👍
2012-05-16 11:59:47 -04:00
Ryan McGrath
a13f59c5d6 Merge pull request #89 from michaelhelmick/master
Critical bug fixes
2012-05-14 12:32:21 -07:00
Michael Helmick
a4e3af1ad4 Critical bug fixes 2012-05-14 15:16:50 -04:00