Migrated from home v3

ryanmcgrath 2010-09-13 02:21:48 -07:00
parent 302f21270d
commit 5ddb8c8dc5

@ -1,27 +1,27 @@
h1. A new and easy way to access Twitter data with Python.
Tango takes care of authenticating a user with Twitter, so you can get full API access. Tango also wraps the Twitter Search API, something which other libraries don't do at the moment. As a final plus, Tango has support for OAuth with Twitter, while maintaining support for Basic Authentication. If that hasn't convinced you yet, check out the example code below:
Twython takes care of authenticating a user with Twitter, so you can get full API access. Twython also wraps the Twitter Search API, something which other libraries don't do at the moment. As a final plus, Twython (will have) support for OAuth with Twitter, while maintaining support for Basic Authentication. If that hasn't convinced you yet, check out the example code below:
<pre>
<code>
import tango
import twython
# Create a Tango instance using Basic (HTTP) Authentication and update our Status
twitter = tango.setup(authtype="Basic", username="example", password="example")
twitter = twython.setup(authtype="Basic", username="example", password="example")
twitter.updateStatus("See how easy this was?")
</code>
</pre>
h1. Does the world really need another Twitter API Wrapper?
Maybe you're happy with the current crop of Twitter libraries for Python, but I'm honestly a little dissapointed. Other projects seem a bit outdated, or they don't cover the full API. Tango is (hopefully) the one Twitter library for Python that 100% covers the API, and is actively maintained.
Maybe you're happy with the current crop of Twitter libraries for Python, but I'm honestly a little dissapointed. Other projects seem a bit outdated, or they don't cover the full API. Twython is (hopefully) the one Twitter library for Python that 100% covers the API, and is actively maintained.
h1. What does Tango require?
h1. What does Twython require?
Tango requires the "simplejson":http://code.google.com/p/simplejson/ library for parsing Twitter responses. If you intend to authenticate with OAuth, Tango requires the "OAuth library for Python":http://oauth.googlecode.com/svn/code/python/.
Twython requires the "simplejson":http://code.google.com/p/simplejson/ library for parsing Twitter responses. If you intend to authenticate with OAuth, Twython requires the "OAuth library for Python":http://oauth.googlecode.com/svn/code/python/.
h1. I have a patch, can I contribute back?
Tango is open source, so you can make changes, hack on it, update it, whatever you think works for you. If you make a change that you think might help the community, or you find and fix a bug, hit the project up on Github.
Twython is open source, so you can make changes, hack on it, update it, whatever you think works for you. If you make a change that you think might help the community, or you find and fix a bug, hit the project up on Github.
Tango was created, and is maintained, by "Ryan McGrath":http://twitter.com/ryanmcgrath. Tango is released under a BSD style license. Questions, comments? Email "ryan" [at] "venodesigns.net".
Twython was created, and is maintained, by "Ryan McGrath":http://twitter.com/ryanmcgrath. Twython is released under a BSD style license. Questions, comments? Email "ryan" [at] "venodesigns.net".