From 25fba94a6410b7af8ad66fc9f088aa284462f877 Mon Sep 17 00:00:00 2001 From: ryanmcgrath Date: Mon, 25 Oct 2010 19:29:44 -0700 Subject: [PATCH] New API Updated Generic Functions (textile) --- Generic-Functions.textile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Generic-Functions.textile b/Generic-Functions.textile index 762e089..b0fd381 100644 --- a/Generic-Functions.textile +++ b/Generic-Functions.textile @@ -11,11 +11,10 @@ Parameters:
 
-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