README is missing topic argument

This commit is contained in:
Jason Douglas
2017-03-05 14:27:33 +03:00
committed by Sergey Petrov
parent 3792bc7df8
commit 7fe9d6aa91
+2 -1
View File
@@ -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