Commit graph

683 commits

Author SHA1 Message Date
Mike Helmick
30db223905 Spicing up the README more
[ci skip]
2013-07-18 21:24:30 -04:00
Mike Helmick
0fef3369ae Attempting to fix tests again -___- 2013-07-18 21:16:08 -04:00
Mike Helmick
a04a7c155c Fixing up some more tests
Even though this should be done in here really :P
2013-07-18 21:04:39 -04:00
Mike Helmick
a1ee2a93ad Attempting to fix some tests that started breaking... 2013-07-18 20:57:31 -04:00
Mike Helmick
2dc15b7030 Fix generator test, remove search_gen from coverage 2013-07-18 20:43:02 -04:00
Mike Helmick
5d7ebcbdfc Revert "Update requirements"
This reverts commit 123e023dbb.
[ci skip]
2013-07-18 20:34:35 -04:00
Mike Helmick
c7af673ad6 Remove print 😊 2013-07-18 20:32:58 -04:00
Mike Helmick
ebd5cd47dd General cursor (generator) like object for Twython functions
* If the endpoint has an iter_mode, the function is able to be used in
Twython.cursor

* Deprecate Twython.search_gen

Fixes #238
2013-07-18 20:31:56 -04:00
Mike Helmick
123e023dbb Update requirements
[ci skip]
2013-07-18 20:26:18 -04:00
Luis Alberto Santana
1f9afbe02c Added a new param to the Twython __init__ that lets you select the authentication endpoint
for your application.
2013-07-17 15:52:38 -04:30
Mike Helmick
66237c7871 Update starting_out.rst
[ci skip]
2013-07-01 15:00:43 -04:00
Mike Helmick
80938412f3 Merge pull request #236 from hulet/typo-fix
typo fix
2013-07-01 11:59:45 -07:00
Steve Hulet
3a198653eb typo fix 2013-07-01 11:56:20 -07:00
Mike Helmick
b983d154eb Update AUTHORS.rst
[ci skip]
2013-06-27 23:02:48 -04:00
Mike Helmick
d37614cb02 Update HISTORY.rst
[ci skip]
2013-06-27 22:57:27 -04:00
Mike Helmick
f77d9eb523 If bad tokens for oauth 2 obtain token, 'access_token' is never in the dict 2013-06-27 22:47:07 -04:00
Mike Helmick
acdf73a04e More tests, coverage, and excluding lines from being covered
There are some lines that will never be hit in tests, excluding those
from being covered!
2013-06-27 22:37:02 -04:00
Mike Helmick
00c0bd91a6 Merge pull request #233 from ryanmcgrath/html-for-tweet
html_for_tweet special function, tests, docs, and more!
2013-06-27 16:29:38 -07:00
Mike Helmick
3c637ddc7d Tests and documentation 2013-06-27 19:20:43 -04:00
Mike Helmick
173adee4a6 HTML for tweet
fixes #224
2013-06-25 21:58:10 -04:00
Mike Helmick
6cab7bf95d Fix Python 3 compat
[ci skip]
2013-06-25 16:31:12 -04:00
Mike Helmick
e786e59050 Merge pull request #232 from hades/master
wrap requests exceptions in TwythonError class
2013-06-25 12:53:44 -07:00
Mike Helmick
6ca284cc21 Update streaming example
[ci skip]
2013-06-25 15:39:17 -03:00
Edward Hades
4fb410fdeb wrap requests exceptions in TwythonError class 2013-06-25 20:19:33 +02:00
Mike Helmick
b7f7d1e63d Merge pull request #227 from ryanmcgrath/stream-client-args
client_args to modify the request
2013-06-25 08:59:05 -07:00
Mike Helmick
26ef7b47bf client_args to modify the request 2013-06-21 18:39:45 -04:00
Mike Helmick
e4098156f4 Merge pull request #225 from extesy/master
Refactor message handling in TwythonStreamer
2013-06-21 07:37:48 -07:00
Oleg Anashkin
50cee5ede8 Combine two ifs into a single line 2013-06-19 17:43:45 -07:00
Oleg Anashkin
009779dda0 Refactor message handling to be more flexible
New parameter `handlers` has a list of message types for which
corresponding handlers should be called. For example, for message types
['delete', 'limit', 'disconnect'] the handlers on_delete, on_limit,
on_disconnect will be invoked if the streamed message has the
corresponding attribute. If the handler returns True then more handlers
might be invoked, otherwise message processing stops. Before all
handlers are called, special on_success handler is invoked with the same
logic: continue message handling if True is returned.

This approach maintains backwards compatibility by not breaking any
existing behaviors.
2013-06-19 13:15:52 -07:00
Mike Helmick
8eceeba317 Update MANIFEST.in
[ci skip]
2013-06-17 15:09:46 -03:00
Mike Helmick
ef52bf4119 Update OAuth 2 doc link
[ci skip]
2013-06-17 15:08:50 -03:00
Mike Helmick
f76f598142 Merge pull request #210 from ryanmcgrath/3.0.0
3.0.0
2013-06-17 10:51:49 -07:00
Mike Helmick
4d86aa670d Fixing stuff for 3.0.0 release
Releasing June 18th!

[ci skip]
2013-06-17 13:51:36 -04:00
Mike Helmick
98469c2968 Merge pull request #220 from Rolinh/fix/example/search
search example update: twitter API v1.1 has replaced "rpp" by "count"
2013-06-17 09:28:42 -07:00
Robin Hahling
7c0739d941 twitter API v1.1 as replaced "rpp" by "count" thus update the search example 2013-06-16 13:34:19 +02:00
Mike Helmick
2af2fc00de Support for Desktop/Mobile apps, remove README.md, helpers in docs for people with non-web apps
Removed README.md, rST can highlight syntax too I found out! :)
2013-06-13 16:47:43 -04:00
Mike Helmick
756eb9060e Update docs, add functionality to get_lastfunction_header per @devdave 2013-06-13 13:31:32 -04:00
Mike Helmick
9f864a341c Updating docs
[ci skip]
2013-06-13 11:05:18 -04:00
Mike Helmick
eac37536e7 Update AUTHORS.rst
[ci skip]
2013-06-13 11:36:28 -03:00
Mike Helmick
8a1b55e343 Fix copy
[ci skip]
2013-06-12 16:55:05 -04:00
Mike Helmick
b484cef7ad Update READMEs
[ci skip]
2013-06-12 16:54:13 -04:00
Mike Helmick
57f67b96d3 Fix typo, add edited image example
[ci skip]
2013-06-12 16:54:04 -04:00
Mike Helmick
7cab9d5dd1 Attempting to exclude lines that we can't necessarily hit in tests, added a test, fixed function name
update_profile_background_image has been in endpoints.py twice for a
bit, my bad.

Using update_profile_banner_image for the function name to update
profile banner image (that's what it was called previously)
2013-06-12 10:54:28 -04:00
Mike Helmick
672c8db77e Remove sphinx themes from requirements, remove Import error
We don't support Python 2.5 and after 2.6 parse_qsl is available in
urlparse

[ci skip]
2013-06-11 19:11:52 -04:00
Mike Helmick
693b8163b2 Attempting to omit advisory.py from coverage 2013-06-11 18:57:10 -04:00
Mike Helmick
478c139af2 Coverage, tests, secure ACCESS_TOKEN, update HISTORY 2013-06-11 17:12:34 -04:00
Mike Helmick
9813a4c8f5 Move test dir to beginning 2013-06-11 15:12:58 -04:00
Mike Helmick
2f5f496ead More test coverage 2013-06-11 15:00:39 -04:00
Mike Helmick
6ce39f9921 Moving tests to their own folder 2013-06-11 14:41:46 -04:00
Mike Helmick
53b930b75f Update requests requirement, update READMEs, new secure variables, attempting better coverage reports
Secure variables were exposed. Had to make new ones.
2013-06-11 14:03:26 -04:00