how to write in stdout after to call a method (doing a system of notifications automatic (Iphone))

前端 未结 1 1374
陌清茗
陌清茗 2021-01-23 11:26

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

相关标签:
1条回答
  • 2021-01-23 11:53
    import apns
    
    gate = apns.APNs('keyfile','certfile').gateway_server()
    gate.send_notification(key,payload)
    

    Is there a problem when you run this?

    0 讨论(0)
提交回复
热议问题