diff --git a/README.md b/README.md index d1b28e9..3919f69 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,9 @@ from apns2.payload import Payload token_hex = 'b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b87' payload = Payload(alert="Hello World!", sound="default", badge=1) +topic = 'com.example.App' client = APNsClient('key.pem', use_sandbox=False, use_alternative_port=False) -client.send_notification(token_hex, payload) +client.send_notification(token_hex, payload, topic) ``` ## Further Info