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:
parent
d37f91ce8e
commit
9ca737b986
10 changed files with 1478 additions and 342 deletions
|
|
@ -1,13 +1,13 @@
|
|||
Metadata-Version: 1.0
|
||||
Name: twython
|
||||
Version: 0.8
|
||||
Summary: A new and easy way to access Twitter data with Python.
|
||||
Version: 0.9
|
||||
Summary: An easy (and up to date) way to access Twitter data with Python.
|
||||
Home-page: http://github.com/ryanmcgrath/twython/tree/master
|
||||
Author: Ryan McGrath
|
||||
Author-email: ryan@venodesigns.net
|
||||
License: MIT License
|
||||
Description: Twython - Easy Twitter utilities in Python
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
=========================================================================================
|
||||
I wrote Twython because I found that other Python Twitter libraries weren't that up to date. Certain
|
||||
things like the Search API, OAuth, etc, don't seem to be fully covered. This is my attempt at
|
||||
a library that offers more coverage.
|
||||
|
|
@ -16,28 +16,27 @@ Description: Twython - Easy Twitter utilities in Python
|
|||
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, and OAuth is the default method for
|
||||
Authentication. To override this, specify 'authtype="Basic"' in your twython.setup() call.
|
||||
|
||||
Documentation is forthcoming, but Twython attempts to mirror the Twitter API in a large way. All
|
||||
parameters for API calls should translate over as function arguments.
|
||||
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).
|
||||
|
||||
Requirements
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
Twython requires (much like Python-Twitter, because they had the right idea :D) a library called
|
||||
"simplejson". You can grab it at the following link:
|
||||
|
||||
http://pypi.python.org/pypi/simplejson
|
||||
> http://pypi.python.org/pypi/simplejson
|
||||
|
||||
|
||||
Example Use
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
import twython
|
||||
|
||||
twitter = twython.setup(authtype="Basic", username="example", password="example")
|
||||
twitter.updateStatus("See how easy this was?")
|
||||
> import twython
|
||||
>
|
||||
> twitter = twython.setup(username="example", password="example")
|
||||
> twitter.updateStatus("See how easy this was?")
|
||||
|
||||
|
||||
Twython 3k
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
README
|
||||
setup.py
|
||||
twython.py
|
||||
twython.egg-info/PKG-INFO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue