From b2ba65cc456fed2d0413b2759d10190e61877a58 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Sun, 14 Jun 2009 04:09:27 -0400 Subject: [PATCH] An example showing how to update a status using basic authentication. --- tango_examples/update_status.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tango_examples/update_status.py diff --git a/tango_examples/update_status.py b/tango_examples/update_status.py new file mode 100644 index 0000000..1466752 --- /dev/null +++ b/tango_examples/update_status.py @@ -0,0 +1,5 @@ +import tango + +# Create a Tango instance using Basic (HTTP) Authentication and update our Status +twitter = tango.setup(authtype="Basic", username="example", password="example") +twitter.updateStatus("See how easy this was?")