Migrated from status-methods v9

ryanmcgrath 2010-09-13 02:22:00 -07:00
parent f2167349d8
commit afba480a9d

@ -16,7 +16,7 @@ Parameters
import twython import twython
# Instantiate with Basic (HTTP) Authentication # Instantiate with Basic (HTTP) Authentication
twitter = twython.setup(authtype="Basic", username="example", password="example") twitter = twython.core.setup(username="example", password="example")
twitter.updateStatus("See how easy this was?") twitter.updateStatus("See how easy this was?")
</code> </code>
</pre> </pre>
@ -35,7 +35,7 @@ Parameters
import twython import twython
# Instantiate with Basic (HTTP) Authentication # Instantiate with Basic (HTTP) Authentication
twitter = twython.setup(authtype="Basic", username="example", password="example") twitter = twython.core.setup(username="example", password="example")
twitter.destroyStatus("12344545") twitter.destroyStatus("12344545")
</code> </code>
</pre> </pre>
@ -53,7 +53,7 @@ Parameters
import twython import twython
# Instantiate with no Auth - Auth might be needed if user is protected # Instantiate with no Auth - Auth might be needed if user is protected
twitter = twython.setup() twitter = twython.core.setup()
status = twitter.showStatus("123") status = twitter.showStatus("123")
print status["text"] print status["text"]