From 7fe9d6aa91fd0e3599c405e8f4df1ab50c16d162 Mon Sep 17 00:00:00 2001 From: Jason Douglas Date: Thu, 2 Mar 2017 22:47:20 -0800 Subject: [PATCH] README is missing topic argument --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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