Migrated from overview-intro v6

ryanmcgrath 2010-09-13 02:21:58 -07:00
parent 50ffa575d8
commit 0ba9cbc93f

@ -11,17 +11,13 @@ Twython was designed to be quick and easy to use. Before you can use any of the
import twython
# Using no authentication
twitter = twython.setup()
twitter = twython.core.setup()
# Using Basic Authentication
twitter = twython.setup(authtype="Basic", username="example", password="example")
# Using OAuth Authentication (Coming soon)
auth_keys = {"consumer_key": "yourconsumerkey", "consumer_secret": "yourconsumersecret"}
twitter = twython.setup(username="example", password="example", oauth_keys=auth_keys)
twitter = twython.core.setup(username="example", password="example")
# Using Basic Authentication and adding custom HTTP Headers
twitter = twython.setup(authtype="Basic", username="example",
twitter = twython.core.setup(username="example",
password="example", headers="your_headers_here")
</code>
</pre>