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>
|
<pre>
|
||||||
<code>
|
<code>
|
||||||
import twython
|
from twython import Twython
|
||||||
|
|
||||||
# Shortening URLs requires no authentication, huzzah
|
# Shortening URLs requires no authentication, huzzah
|
||||||
twitter = twython.core.setup()
|
shortURL = Twython.shortenURL("http://www.webs.com/")
|
||||||
shortURL = twitter.shortenURL("http://www.webs.com/")
|
|
||||||
|
|
||||||
print shortURL
|
print shortURL
|
||||||
</code>
|
</code>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue