djacobs / PyAPNs

Python library for interacting with the Apple Push Notification service (APNs)
http://pypi.python.org/pypi/apns/
MIT License
1.22k stars 377 forks source link

tutorial? #160

Open Bart274 opened 8 years ago

Bart274 commented 8 years ago

Hi,

Can someone help me with a tutorial on how to start using this? in the example this is used: apns = APNs(use_sandbox=True, cert_file='cert.pem', key_file='key.pem') it never says how you define your target devices, what are the cert.pem and key.pem? how can we obtain them?

AhnSeongHyun commented 8 years ago

Refer https://blog.krishan711.com/generating-ios-push-certificates about cert and key file.

hahnicity commented 5 years ago

Do you think this might be worth some documentation in the README?