Permalink
Browse files

Changed example/added todo

  • Loading branch information...
Jacob Burch
Jacob Burch committed Jul 8, 2009
1 parent cbb5f55 commit 1c26eccc882a280b743b72768cafb6460b60e705
Showing with 9 additions and 4 deletions.
  1. +7 −1 README
  2. +2 −1 example.py
  3. +0 −2 prowlpy.py
View
8 README
@@ -7,4 +7,10 @@ Python module for posting to the iPhone Push Notification service Prowl: http://
Dependencies:
httplib2/urllib
-The socket module must be compiled with SSL support
+The socket module must be compiled with SSL support
+
+
+Todo:
+ Add priority
+ Add API key verification
+ Test against character-limits.
View
@@ -3,7 +3,8 @@
"""
import prowlpy
-p = prowlpy.Prowl('dummy-username','dummy-password')
+apikey = '1234567890123456789012345678901234567890' #Dummy API-key)
+p = prowlpy.Prowl(apikey)
try:
p.post('TestApp','Server Down',"The Web Box isn't responding to a ping")
print 'Success'
View
@@ -5,8 +5,6 @@
Written by Jacob Burch, 7/6/2009
Python module for posting to the iPhone Push Notification service Prowl: http://prowl.weks.net/
-
-from prowlpy import Prowl
"""
__author__ = 'jacobburch@gmail.com'
__version__ = 0.2

0 comments on commit 1c26ecc

Please sign in to comment.