Added global, unauthenticated instance of API class into package init module.
authorJosh Roesslein <jroesslein@gmail.com>
Thu, 30 Jul 2009 03:13:23 +0000 (22:13 -0500)
committerJosh Roesslein <jroesslein@gmail.com>
Thu, 30 Jul 2009 03:13:23 +0000 (22:13 -0500)
__init__.py

index 866caafcfd7647f34dff602976967da33eeaad4a..6d6657ddd06b490f49cc1ebefafc8b21130fd83e 100644 (file)
@@ -6,3 +6,6 @@ __version__ = '1.0'
 from models import *
 from error import TweepError
 from api import API
+
+# Global, unauthenticated instance of API
+api = API()