diff --git a/tango_examples/shorten_url.py b/tango_examples/shorten_url.py new file mode 100644 index 0000000..12b7668 --- /dev/null +++ b/tango_examples/shorten_url.py @@ -0,0 +1,7 @@ +import tango + +# Shortening URLs requires no authentication, huzzah +twitter = tango.setup() +shortURL = twitter.shortenURL("http://www.webs.com/") + +print shortURL