Commit graph

507 commits

Author SHA1 Message Date
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
eac37536e7 Update AUTHORS.rst
[ci skip]
2013-06-13 11:36:28 -03:00
Mike Helmick
4327ff30df Cleaning up a bit
[ci skip]
2013-05-30 17:48:47 -04:00
Mike Helmick
b0c7b74e3b And remove README.md, rst is fine
Having both in MANIFEST might mess up reading stuff like on Crate, etc.
[ci skip]
2013-05-29 14:05:33 -04:00
Mike Helmick
57f8e6b22f Examples weren't being included in the pkg, and pyc's are excluded by default
We'll figure out the example thing for next release!
[ci skip]
2013-05-29 14:04:42 -04:00
Mike Helmick
6eaa58cd0b Try and fix README.rst
[ci skip]
2013-05-29 14:02:44 -04:00
Mike Helmick
8d2dd80ae8 Update HISTORY 2.10.1 date
[ci skip]
2013-05-29 13:37:42 -04:00
Mike Helmick
14b268e560 README
[ci skip]
2013-05-29 11:50:25 -04:00
Mike Helmick
6e1dc6b9bc Merge pull request #209 from ryanmcgrath/dev
2.10.1
2013-05-29 08:42:31 -07:00
Mike Helmick
81a6802c63 Update HISTORY
[ci skip]
2013-05-29 11:41:30 -04:00
Mike Helmick
71ea58cf6f Send a "different" message everytime for DM tests 2013-05-29 11:41:30 -04:00
Mike Helmick
f879094ea1 Update stream example, update AUTHORS for future example fix
Remove tests that usually caused Travis to fail
Made it clear that Authenticaiton IS required for Streaming in the
docstring
2013-05-29 11:41:30 -04:00
Mike Helmick
64b1349993 Python 3 compat 2013-05-29 11:41:03 -04:00
Mike Helmick
c8b1202880 Added disconnect to TwythonStreamer, more tests, update example
* Stream and Twython core tests
* Import TwythonStreamError from twython

See more in 2.10.1 section of HISTORY.rst
2013-05-29 11:41:03 -04:00
Mike Helmick
815393cc33 Meant to use bad_api for these Tests 2013-05-29 11:41:03 -04:00
Mike Helmick
894e94a4cd 2.10.1
- More test coverage!
- Fix ``search_gen``
- Fixed ``get_lastfunction_header`` to actually do what its docstring
says, returns ``None`` if header is not found
- Updated some internal API code, ``__init__`` didn't need to have
``self.auth`` and ``self.headers`` because they were never used
anywhere else but the ``__init__``
2013-05-29 11:41:03 -04:00
Mike Helmick
05ca86805f Merge pull request #201 from rubenvarela/fix-search_results.py
Fixed the for loop key and how to access the user name in example
2013-05-29 08:39:10 -07:00
Mike Helmick
f20afb0113 Merge pull request #207 from devdave/patch-1
Allow for long's as well as ints for request params
2013-05-29 08:35:48 -07:00
devdave
13d4725fca Update AUTHORS.rst 2013-05-28 21:01:05 -05:00
devdave
b0d801b7bb Added numeric_types 2013-05-28 20:05:04 -05:00
devdave
a246743698 Added compat, numeric_types as allowed param type. 2013-05-28 20:03:20 -05:00
devdave
11acb49295 Allow for long's as well as ints for request params
_params['max_id']
330122291755220993L

type(_params['max_id'])
<type 'long'>

isinstance(_params['max_id'], int)
False

isinstance(_params['max_id'], (long,int))
True
2013-05-28 18:33:37 -05:00
Rubén Varela Rosa
464360c7f7 Fixed the for loop key and how to access the user name. 2013-05-26 12:53:55 -04:00
Mike Helmick
b99db3c90c Fix README.rst
[ci skip]
2013-05-21 22:48:34 -04:00
Mike Helmick
52609334bd Update description and long description
[ci skip]
2013-05-21 19:29:15 -04:00
Mike Helmick
78c1a95dc3 Update MANIFEST and HISTORY
[ci skip]
2013-05-21 19:14:20 -04:00
Mike Helmick
48e7ccd39c Add Travis Image to READMEs
[ci skip]
2013-05-21 18:30:37 -04:00
Mike Helmick
bf7b6727dd Update requirements.txt and requirements in setup.py 2013-05-21 18:22:30 -04:00
Mike Helmick
050835e660 construct_api_url params as kwarg
Sometimes params isn't doesn't have to be passed
[ci skip]
2013-05-21 15:20:17 -04:00
Mike Helmick
126305d93d Revert removing unicode2utf8 and encode staticmethods
[ci skip]
2013-05-21 12:52:17 -04:00
Mike Helmick
c7bce9189f Update requests dependency, add str py2/3 compat, __repr__ definition, removed unicode2utf8 & encode static methods, update HISTORY
@ryanmcgrath Let me know if you're okay with the removal of
Twython.unicode2utf8 and Twython.encode. I moved Twython.encode to
_encode in helpers.py (only place being used is
Twython.construct_api_url) If it's python 2 and unicode then we encode
it, otherwise return the original value

[ci skip]
2013-05-21 11:41:43 -04:00
Mike Helmick
3dbef22cee Remove unused compat types from compat.py
[ci skip]
2013-05-20 10:31:32 -04:00
Mike Helmick
f7f19dbdc3 Updated app/oauth secure keys
They we're exposed in Travis before, so we got to keep them secret ;)
[ci skip]
2013-05-18 10:45:25 -04:00
Mike Helmick
c00647a5a0 Remove report_spam test, update tests with --logging-filter
* report spam was being abused and started turning a 403
* try to only log messages from twython, oauthlib is exposing our
secrets when tests fail :(
2013-05-17 21:32:44 -04:00
Mike Helmick
48fc5d4c36 Update READMEs with nice "# of downloads" image
[ci skip]
2013-05-17 13:13:55 -04:00
Mike Helmick
35d8402173 Include ints in params too
Oops ;P
2013-05-16 14:45:38 -04:00
Mike Helmick
c42a987f38 basestring compat for python 3 transparent params 2013-05-16 14:32:58 -04:00
Mike Helmick
27c51b8ba6 Fixes #192, update HISTORY 2013-05-16 14:15:11 -04:00
Mike Helmick
6238912b96 Update examples and READMEs
[ci skip]
2013-05-16 13:36:46 -04:00
Mike Helmick
ea0b646fd1 Fixes #194
[ci skip]
2013-05-16 12:40:25 -04:00
Mike Helmick
008c53048a Cooler twitter handle, different secure tokens 2013-05-15 21:23:50 -04:00
Mike Helmick
00f8fe8705 Merge pull request #196 from ryanmcgrath/tests
Tests
2013-05-15 14:57:44 -07:00
Mike Helmick
077406a8b3 Adding coverage to requirements 2013-05-15 17:38:28 -04:00
Mike Helmick
a76b93e491 Okay, let's try this secure stuff again 2013-05-15 16:55:55 -04:00
Mike Helmick
bb5e0dece1 Adding secure travis keys
Changed keys for the old dev app, so they're invalid now. Adding secure
generated keys for app key/secret, oauth token/secret
2013-05-15 16:36:53 -04:00
Mike Helmick
0d3ae38c39 Update .travis.yml 2013-05-14 22:07:05 -04:00
Mike Helmick
d3e17dcd4b Auth test, updating func names and tests that failed
Coverage 56%
2013-05-14 21:52:25 -04:00
Mike Helmick
6841e7ef28 Tests for all main endpoints 2013-05-14 21:34:22 -04:00
Mike Helmick
5534ea2480 Fixes #193, fixed when Warning is raised, fixed error raising, version bump
- Added `get_retweeters_ids` method
- Fixed `TwythonDeprecationWarning` on camelCase functions if the
camelCase was the same as the PEP8 function (i.e. ``Twython.retweet``
did not change)
- Fixed error message bubbling when error message returned from Twitter
was not an array (i.e. if you try to retweet something twice, the error
is not found at index 0)
2013-05-10 21:28:57 -04:00
Ryan McGrath
f0f0d12a60 One more thing worth noting 2013-05-04 20:35:13 -04:00