Commit graph

296 commits

Author SHA1 Message Date
Mike Helmick
1fa262628f Optional parameter 2015-03-28 07:51:29 -04:00
Mike Helmick
920f433f8a Fixes #371 2015-03-28 07:49:29 -04:00
shuuji3
d70fa54375 Fix a broken link to the document of media_upload. 2015-02-14 17:44:45 +09:00
Mirat Can Bayrak
14526cb3df Fixed type errror on api.py 2014-12-16 13:40:36 +00:00
ping
3cd88a09e6 Format media entities in Twython.html_for_tweet() 2014-12-02 17:54:52 +08:00
Ben McGinnes
036760bfd4 Fixed typo with list_mute_ids. 2014-11-02 16:04:39 +11:00
Ben McGinnes
123b8f4f74 Added the create, destroy, list and list IDs mute(s) endpoints.
Roughly modelled on the similar-ish block user functions (note: the
"mutes/users" instead of just "mutes" appears to be intentional by
Twitter).

Also added myself to AUTHORS.rst because I reckon adding API bits makes
the grade.  ;)
2014-11-02 10:41:56 +11:00
Mike Helmick
e427281660 Fixes #305 2014-10-30 11:14:34 -04:00
Mike Helmick
23a0b62f2c Update AUTHORS, HISTORY, DeprecationWarning on update_status_with_media 2014-10-30 11:14:34 -04:00
Mike Helmick
8548a31238 Changing versions, adding AUTHORS & HISTORY 2014-10-30 11:14:34 -04:00
Mike Helmick
6662ff4061 Merge pull request #342 from dalleng/master
Fix issue #317 TwythonRateLimitError.retry_after is always None.
2014-10-30 11:11:40 -04:00
Filipe Ximenes
83379b42e6 adding upload media endpoint 2014-10-23 12:03:33 -03:00
Diego Allen
f2a535b250 Formatting fixes 2014-09-01 09:06:07 -04:00
Diego Allen
27617181b1 Fix issue #317 TwythonRateLimitError.retry_after is always None. 2014-08-31 23:14:49 -04:00
Joe Cabrera
a0fec2f004 pep8 finished 2014-07-26 11:48:36 -04:00
Joe Cabrera
6206c0b73f more pep8 fixes 2014-07-24 13:50:36 +00:00
Joe Cabrera
1455d8769a first pep8 work 2014-07-24 04:24:51 +00:00
bsbkeven
b29ce05bc8 Update endpoints.py
Added endpoint for statuses/lookup (https://dev.twitter.com/docs/api/1.1/get/statuses/lookup).
2014-05-21 11:18:59 -07:00
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
Cory Benfield
31ff35349c Merge headers, don't overwrite. 2014-02-23 15:07:05 +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
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
wcdolphin
f8d47c13d3 Adds retry_after attribute to TwythonRateLimitError 2014-01-12 15:21:27 -08:00
Cash Costello
25eca18da3 fixed typo in documentation of cursor() 2014-01-05 14:34:37 -05:00
Mike Helmick
0937fbe929 Fix Changelog, update version
[ci skip]
2013-12-06 11:14:39 -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
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
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
Kyle Kelley
37fc3e1aaa Coerce elements to strings as fallback 2013-09-05 20:45:53 -05:00
bool.dev
feac105c85 Fixed a docstring typo in get_authentication_tokens. 2013-08-30 02:16:46 +05:30
Jim Rybarski
79e2cfa78f #255 Change GET to POST for lookup_user 2013-08-23 03:47:22 -05:00
Jim Rybarski
d4f104b8a6 fixed problem where cursor stops after 10k results 2013-08-16 13:04:04 -05:00
Mike Helmick
3f69928bf6 Merge pull request #240 from jackboot7/master
Added a new param to the Twython __init__ that lets you select the authe...
2013-07-23 21:20:39 -07:00
Mike Helmick
06f5425724 Fixes #244 2013-07-20 17:46:13 -04:00
Mike Helmick
dd3727c6f5 Fixes #243 2013-07-20 17:22:07 -04:00
Mike Helmick
52e025a6a2 Merge pull request #241 from ryanmcgrath/dev/cursor
WIP: General cursor (generator) like object for Twython functions, fixes #238
2013-07-20 12:01:29 -07:00
Mike Helmick
10317bac23 Accomedate all endpoints that can be paginated with iter_mode and if needed, iter_key 2013-07-20 14:28:49 -04:00
Mike Helmick
0fa9b631c1 Update documentation for cursor example
[ci skip]
2013-07-18 23:42:52 -04:00
Mike Helmick
8efa00e9f3 Fix docstring in types.py
[ci skip]
2013-07-18 23:33:10 -04:00
Mike Helmick
2dc15b7030 Fix generator test, remove search_gen from coverage 2013-07-18 20:43:02 -04:00