Skip to content

Commit

Permalink
added a README file
Browse files Browse the repository at this point in the history
  • Loading branch information
dfdeshom committed Jan 16, 2010
1 parent 827fb59 commit 8476832
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README
@@ -0,0 +1,21 @@
This is sfpy, another Superfeedr XMPP API Python wrapper. You will need to
install xmppy to run it

Example:

from sfpy.superfeedr import SuperFeedr

def sf_message(event):
print 'received this event: ', str(event)
return 1


def main():
user = 'user'
password = 'password'
s = SuperFeedr(user, password)
s.on_notification(sf_message)
s.monitor()

if __name__=='__main__':
main()

0 comments on commit 8476832

Please sign in to comment.