Commit graph

715 commits

Author SHA1 Message Date
drevicko
144c60c3e5 Merge branch 'master' of github.com:ryanmcgrath/twython into cursor-pages
Conflicts:
	twython/api.py
2014-03-05 13:30:28 +11:00
Mike Helmick
beffba7da7 Merge pull request #284 from drevicko/non-recursive-cursor
changed cursor() from recursion to while loop
2014-02-25 15:36:57 -05:00
Mike Helmick
bfc497edc0 Merge pull request #310 from Lukasa/master
Twython unnecessarily disables compression.
2014-02-25 15:35:58 -05:00
Cory Benfield
f514816c6f Fixup python3 test failure. 2014-02-23 15:12:44 +00:00
Cory Benfield
31ff35349c Merge headers, don't overwrite. 2014-02-23 15:07:05 +00:00
Cory Benfield
673336ff8f Failing test for Accept-Encoding header 2014-02-23 15:07:01 +00:00
Ian
e1ee67192e fixed paramater naming as per PEP8 2014-02-21 10:29:10 +11:00
Ian
3c278efd4e Merge remote-tracking branch 'upstream/master' into cursor-pages 2014-02-21 10:24:44 +11:00
Ian
ff6502e2e9 Merge remote-tracking branch 'upstream/master' into non-recursive-cursor 2014-02-21 10:19:01 +11:00
Mike Helmick
da3a0bb9fc Merge pull request #308 from cash/add_error_tests
Fixes #302 simplifies json decoding and handling of errors. Adds tests.
2014-02-19 13:33:15 -05:00
cash
1e627f9fb1 need to use ValueError to account for different json libraries throwing different exceptions 2014-01-25 17:15:17 -05:00
cash
fa2122127c Fixes #302 simplifies json decoding and handling of errors. Adds tests. 2014-01-25 16:56:48 -05:00
Mike Helmick
eed37be5d1 Merge pull request #303 from cash/unit_tests
Fixes #297 New unit tests based on responses
2014-01-25 08:02:25 -08:00
Cash Costello
c83304edf2 requests returns content as bytes so use bytes for test strings. Also changed api verison in test 1.1 to not confuse people 2014-01-14 11:14:14 -05:00
Mike Helmick
6cfbbdeae0 Merge pull request #304 from wcdolphin/master
Adds retry_after attribute to TwythonRateLimitError
2014-01-13 10:37:17 -08:00
wcdolphin
f8d47c13d3 Adds retry_after attribute to TwythonRateLimitError 2014-01-12 15:21:27 -08:00
cash
9f7d38181e python 3.3 workaround for dropbox/responses issue 2014-01-11 19:45:47 -05:00
cash
30ff4319e2 updated unit tests and travis config for python 2.6 and 3 2014-01-11 19:45:46 -05:00
cash
c449e3f8e1 skipping tests that were failing because of external dependency on Twitter 2014-01-11 15:45:45 -05:00
cash
fc55791cbf updated remaining tests in test_core.py and removed cursor test (which will be replaced) 2014-01-11 15:37:47 -05:00
cash
5304803f09 added docstrings for new tests and finished testing input arguments of request() 2014-01-11 11:13:55 -05:00
cash
f075586fcd moved integration tests to new file 2014-01-11 10:06:30 -05:00
cash
9cbd3d6fbc added some basic tests of the core request() method using dropbox/responses 2014-01-09 22:59:23 -05:00
Mike Helmick
362c6ff9c1 Merge pull request #296 from cash/typo
fixed typo in documentation of cursor() [ci skip]
2014-01-05 11:55:32 -08:00
Cash Costello
25eca18da3 fixed typo in documentation of cursor() 2014-01-05 14:34:37 -05:00
Mike Helmick
8001b5265b Merge pull request #292 from kuyan/patch-1
Fix docs typo [ci skip]
2013-12-16 08:00:49 -08:00
Natan L
d5dfcb7e86 Fix typo
'SECERT' --> 'SECRET'
2013-12-15 20:28:43 -08:00
Mike Helmick
0937fbe929 Fix Changelog, update version
[ci skip]
2013-12-06 11:14:39 -05:00
Mike Helmick
74b2f97f2c Update HISTORY.rst
[ci skip]
2013-12-06 11:12:29 -05:00
Mike Helmick
92479cd75b Update conf.py
[ci skip]
2013-12-05 18:22:59 -05:00
Mike Helmick
c2068466af Update requests version, HISTORY.rst, prepare for 3.1.1 release 2013-12-05 18:15:30 -05:00
drevicko
32337fd036 changed cursor() from recursion to while loop
modified:   api.py
2013-11-08 13:03:23 +11:00
drevicko
252ded6e00 fixed recursive part for returning cursor() pages
modified:   api.py
2013-11-08 12:43:29 +11:00
drevicko
cf766311f0 added option to cursor() to yeild "pages" - ie: iterators of items for each page returned by twitter
modified:   api.py
2013-11-08 12:23:22 +11:00
Mike Helmick
638f75b93d Fixes #266 2013-10-26 19:04:36 -04:00
Mike Helmick
6c2cac76a5 Update lib versions, update gitignore
[ci skip]
2013-10-26 19:04:08 -04:00
Mike Helmick
36ef365d43 Delete shorten_url.py
Fixes #277
[ci skip]
2013-10-23 00:10:53 -04:00
Mike Helmick
1db20c049e Merge pull request #271 from remram44/dont-catch-streamer-errors
Don't mask TwythonStreamer exceptions
2013-10-21 08:19:31 -07:00
Mike Helmick
bd13716256 Merge pull request #275 from Hasimir/patch-1
Update setup.py
2013-10-21 07:25:21 -07:00
Ben McGinnes
5ff6db186e Update setup.py
Copied setup import from Python-Requests so it does not fail on some platforms (e.g. Nokia N9/MeeGo).
2013-10-20 14:51:39 +11:00
Mike Helmick
2ae270fcdf Merge pull request #272 from iiSeymour/patch-1
[Trivial] Added missing comma. [ci skip]
2013-10-10 07:54:01 -07:00
Chris Seymour
6f77addef8 [Trivial] Added missing comma. 2013-10-10 15:53:02 +01:00
Remi Rampin
9bf83fd933 Don't mask TwythonStreamer exceptions
Exceptions in handlers or on_success which subclass ValueError would
previously be caught and reported as a JSON decoding problem, and
on_error() would be called (with status_code=200).
2013-10-09 14:39:45 -04:00
Mike Helmick
28b6d68b3b Update changelog, fix version number
[ci skip]
2013-09-25 16:21:49 -04:00
Mike Helmick
850e630082 Merge pull request #267 from ryanmcgrath/requests2
Multiple Fixes
2013-09-25 10:52:52 -07:00
Mike Helmick
99067c3e6f Fixes #254 and forgot to def chunk_size 2013-09-25 13:02:52 -04:00
Mike Helmick
f6d458e758 Fixes #230 2013-09-25 12:58:40 -04:00
Mike Helmick
6da8805545 Fix decrypt, remove print…. again 2013-09-25 11:59:55 -04:00
Mike Helmick
a639977873 Should have left the print in 2013-09-25 11:24:13 -04:00
Mike Helmick
636e52a8c5 Fixing decrypt, remove print 2013-09-25 11:14:27 -04:00