Skip to content

Commit

Permalink
Changed example/added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Burch committed Jul 8, 2009
1 parent cbb5f55 commit 1c26ecc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 7 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 2 additions & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 0 additions & 2 deletions prowlpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c26ecc

Please sign in to comment.