Reorganizing into a more package based structure, setting an initial (not working) setup.py file - this will be expanded soon
This commit is contained in:
parent
4fed1e241f
commit
d7d170cc3b
16 changed files with 1357 additions and 0 deletions
7
examples/shorten_url.py
Normal file
7
examples/shorten_url.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import tango
|
||||
|
||||
# Shortening URLs requires no authentication, huzzah
|
||||
twitter = tango.setup()
|
||||
shortURL = twitter.shortenURL("http://www.webs.com/")
|
||||
|
||||
print shortURL
|
||||
Loading…
Add table
Add a link
Reference in a new issue