Twython 0.9 - enough has changed with the Twitter API as of late that this merits a new release. 0.8 was beginning to show age as the API moved forward, and is now deprecated as a result - 0.9 is the way to go (or trunk, if you're adventurous. ;D)

This commit is contained in:
Ryan McGrath 2009-11-23 22:03:21 -05:00
parent d37f91ce8e
commit 9ca737b986
10 changed files with 1478 additions and 342 deletions

View file

@ -8,9 +8,9 @@ This is my first library I've ever written in Python, so there could be some stu
make a seasoned Python vet scratch his head, or possibly call me insane. It's open source, though,
and I'm open to anything that'll improve the library as a whole.
OAuth support is in the works, but every other part of the Twitter API should be covered. Twython
handles both Basic (HTTP) Authentication and OAuth. Older versions of Twython need Basic Auth specified -
to override this, specify 'authtype="Basic"' in your twython.setup() call.
OAuth and Streaming API support is in the works, but every other part of the Twitter API should be covered. Twython
handles both Basic (HTTP) Authentication and OAuth (Older versions (pre 0.9) of Twython need Basic Auth specified -
to override this, specify 'authtype="Basic"' in your twython.setup() call).
Twython has Docstrings if you want function-by-function plays; otherwise, check the Twython Wiki or
Twitter's API Wiki (Twython calls mirror most of the methods listed there).
@ -27,7 +27,7 @@ Example Use
-----------------------------------------------------------------------------------------------------
> import twython
>
> twitter = twython.setup(authtype="Basic", username="example", password="example")
> twitter = twython.setup(username="example", password="example")
> twitter.updateStatus("See how easy this was?")