diff bitsytweet/__init__.py @ 0:56a9fb9ad9b4

initial commit of bitsytweet (not yet functional)
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 07 Jul 2010 13:31:37 -0700
parents
children b003ae6978fe
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bitsytweet/__init__.py	Wed Jul 07 13:31:37 2010 -0700
@@ -0,0 +1,15 @@
+"""
+BitsyTweet
+"""
+
+import twitter
+
+class BitsyTweet(object):
+
+  def __init__(self, username, password):
+    self.username = username
+    self.password = password
+    self.api = twitter.Api(username=self.username, password=self.password) 
+
+  def __call__(self, post):
+    self.api.PostUpdate(self.username, self.password, '')