Migrated from overview-intro v3

ryanmcgrath 2010-09-13 02:21:37 -07:00
parent 5a890f98b1
commit e2a1ecacf9

@ -10,13 +10,13 @@ Tango was designed to be quick and easy to use. Before you can use any of the AP
<code>
import tango
# Using no authentication and specifying Debug
twitter = tango.setup(debug=True)
# Using no authentication
twitter = tango.setup()
# Using Basic Authentication
twitter = tango.setup(authtype="Basic", username="example", password="example")
# Using OAuth Authentication (Note: OAuth is the default, specify Basic if needed)
# Using OAuth Authentication (Note: OAuth is the default, specify Basic if needed) <b>Currently in development</b>
auth_keys = {"consumer_key": "yourconsumerkey", "consumer_secret": "yourconsumersecret"}
twitter = tango.setup(username="example", password="example", oauth_keys=auth_keys)