I'm trying to do a system of notifications automatic (Iphone) using https://github.com/simonwhitaker/PyAPNs. When you want to send a notification you call "apns.gateway_server.send_notification(key, payload)" and you have to enter the PEM pass phrase. Is there a way to enter this phrase through code?
Something like: call(apns.gateway_server.send_notification(key, payload), sys.stdout.write("my phars"))
I don't know how to do it