Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed example/added todo

  • Loading branch information...
commit 1c26eccc882a280b743b72768cafb6460b60e705 1 parent cbb5f55
Jacob Burch authored
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  example.py
@@ -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
2  prowlpy.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.