djacobs / PyAPNs

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

added --sandbox & --key-file options #75

Closed apouche closed 8 years ago

apouche commented 10 years ago

After using you're great lib I realized it was missing a few simple features especially on the apns-send CLI tool:

Let me know if you have any questions

ExplodingCabbage commented 8 years ago

Haven't tested, but this looks good at a glance. It would be good to get these old PRs merged that have languished unattended to for years.

One question though, for dumb people like me who don't understand SSL; why is the key-file needed here, and why wasn't it passable here before? I always just assumed that it was necessary because the sample usage in the README passed it.