diff --git a/Status-Methods.textile b/Status-Methods.textile index 6f75abc..27b3169 100644 --- a/Status-Methods.textile +++ b/Status-Methods.textile @@ -2,6 +2,42 @@ h2. Status methods The methods below deal with showing, updating, and deleting status messages on Twitter. +h3. updateStatus() + +Updates your status on Twitter - requires authentication + +Parameters + +* status: (Required) The status message you're updating with. +* in_reply_to: (Optional) An optional status ID that this message is in reply to. + +
+
+import tango
+
+# Instantiate with Basic (HTTP) Authentication
+twitter = tango.setup(authtype="Basic", username="example", password="example")
+status = twitter.updateStatus("See how easy this was?")
+
+
+
+
+h3. destroyStatus()
+
+Destroys a status message for the authenticating account. Self explanatory. Requires authentication
+
+Parameters
+
+* id: The numerical id of the status message you're deleting.
+
+
+import tango
+
+# Instantiate with Basic (HTTP) Authentication
+twitter = tango.setup(authtype="Basic", username="example", password="example")
+status = twitter.destroyStatus("12344545")
+
+
h3. showStatus()
@@ -22,24 +58,3 @@ status = twitter.showStatus("123")
print status["text"]
-
-
-
-h3. updateStatus()
-
-Updates your status on Twitter - requires authentication
-
-Parameters
-
-* status: (Required) The status message you're updating with.
-* in_reply_to: (Optional) An optional status ID that this message is in reply to.
-
-
-
-import tango
-
-# Instantiate with Basic (HTTP) Authentication
-twitter = tango.setup(authtype="Basic", username="example", password="example")
-status = twitter.updateStatus("See how easy this was?")
-
-
\ No newline at end of file