Migrated from overview-intro v3
parent
5a890f98b1
commit
e2a1ecacf9
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue