New API
Updated Generic Functions (textile)
parent
99fae398ae
commit
25fba94a64
1 changed files with 2 additions and 3 deletions
|
|
@ -11,11 +11,10 @@ Parameters:
|
|||
|
||||
<pre>
|
||||
<code>
|
||||
import twython
|
||||
from twython import Twython
|
||||
|
||||
# Shortening URLs requires no authentication, huzzah
|
||||
twitter = twython.core.setup()
|
||||
shortURL = twitter.shortenURL("http://www.webs.com/")
|
||||
shortURL = Twython.shortenURL("http://www.webs.com/")
|
||||
|
||||
print shortURL
|
||||
</code>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue