Commit graph

570 commits

Author SHA1 Message Date
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
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