Commit graph

630 commits

Author SHA1 Message Date
Mike Helmick
ea178df702 Trying to get coveralls and nose working.
Programming is hard
2013-06-11 11:44:31 -04:00
Mike Helmick
f74596c40b Not sure we really need to run tests twice 2013-06-11 11:06:00 -04:00
Mike Helmick
80c428992b Empty dict if client_args is None
I should run local tests before I commit :/
2013-06-11 10:48:46 -04:00
Mike Helmick
d0191895d5 Copy of client args, and restrict travis to only master (still build for PR though)
I'm dumb.
2013-06-11 10:18:25 -04:00
Mike Helmick
1dfa11dd27 Update tests to pass client_args rather than headers 2013-06-10 17:47:58 -04:00
Mike Helmick
25cfd0909c Update docs to give examples for manipulating requests args 2013-06-10 17:42:26 -04:00
Mike Helmick
a0aae4687d Introduce client_args
client_args allow for users to manipulate the request without our init
being cluttered up with keyword args

[ci skip]
2013-06-10 16:35:52 -04:00
Mike Helmick
20651290f9 Wearing the coveralls 8), Updating READMEs
[ci skip]
2013-06-08 17:14:54 -04:00
Mike Helmick
d86f2b0e00 Attempting coveralls again. 2013-06-08 17:06:14 -04:00
Mike Helmick
6574342b0f … try this coveralls thing. 2013-06-08 16:52:36 -04:00
Mike Helmick
f6040fe275 Fixing code (errors from tests), update HISTORY
[ci skip]
2013-06-08 16:52:15 -04:00
Mike Helmick
4debef7d84 Custom sidebar
[ci skip]
2013-06-08 16:02:41 -04:00
Mike Helmick
dd61841481 Fork Me badge, more docs
[ci skip]
2013-06-07 20:54:52 -04:00
Mike Helmick
124dc1b969 File coding, file description ALL THE THINGS
[ci skip]
2013-06-07 20:54:23 -04:00
Mike Helmick
44fb5b4a6e Attempting to make docs clear and understandable
[ci skip]
2013-06-07 20:13:38 -04:00
Mike Helmick
8559a1f1ce OAuth 2 support :)
[ci skip]
2013-06-07 20:12:52 -04:00
Mike Helmick
06922b7ca6 Activate that sexy theme ;P
[ci skip]
2013-06-07 15:31:56 -04:00
Mike Helmick
4958e02f33 Adding sexy doc theme ;)
[ci skip]
2013-06-07 15:31:07 -04:00
Mike Helmick
31efb0c7cf Fix verify_credentials definition name
[ci skip]
2013-06-07 15:27:10 -04:00
Mike Helmick
e0363dba52 Making the docs pretty (I think?)
[ci skip]
2013-06-06 21:12:14 -04:00
Mike Helmick
55641a1966 Begin docs
[ci skip]
2013-06-06 13:41:56 -04:00
Mike Helmick
ec2bd7d686 Automatically join kwargs passed as lists into comma-separated string
[ci skip]
2013-06-06 13:41:44 -04:00
Mike Helmick
ff7e3fab94 Updating a lot of docstrings, EndpointMixin replaces api_table dict
[ci skip]
2013-06-06 13:40:39 -04:00
Mike Helmick
9c6fe0d6b8 Update tests docstring
[ci skip]
2013-05-30 18:21:26 -04:00
Mike Helmick
47e1b7c158 3.0.0
## 3.0.0

- Changed ``twython/twython.py`` to ``twython/api.py`` in attempt to
make structure look a little neater
- Removed all camelCase function access (anything like
``getHomeTimeline`` is now ``get_home_timeline``) Fixes #199
- Removed ``shorten_url``. With the ``requests`` library, shortening a
URL on your own is simple enough
- ``twitter_token``, ``twitter_secret`` and ``callback_url`` are no
longer passed to ``Twython.__init__`` Fixes #185
    - ``twitter_token`` and ``twitter_secret`` have been replaced with
``app_key`` and ``app_secret`` respectively
    - ``callback_url`` is now passed through
``Twython.get_authentication_tokens``

[ci skip]
2013-05-30 18:16:39 -04: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