7 lines
161 B
Python
7 lines
161 B
Python
import tango
|
|
|
|
# Shortening URLs requires no authentication, huzzah
|
|
twitter = tango.setup()
|
|
shortURL = twitter.shortenURL("http://www.webs.com/")
|
|
|
|
print shortURL
|