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>
|
<code>
|
||||||
import tango
|
import tango
|
||||||
|
|
||||||
# Using no authentication and specifying Debug
|
# Using no authentication
|
||||||
twitter = tango.setup(debug=True)
|
twitter = tango.setup()
|
||||||
|
|
||||||
# Using Basic Authentication
|
# Using Basic Authentication
|
||||||
twitter = tango.setup(authtype="Basic", username="example", password="example")
|
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"}
|
auth_keys = {"consumer_key": "yourconsumerkey", "consumer_secret": "yourconsumersecret"}
|
||||||
twitter = tango.setup(username="example", password="example", oauth_keys=auth_keys)
|
twitter = tango.setup(username="example", password="example", oauth_keys=auth_keys)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue