File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Use your instance id and secret (you can get these from the
32
32
33
33
from pusher_push_notifications import PushNotifications
34
34
35
- pn_client = PushNotifications(
35
+ beams_client = PushNotifications(
36
36
instance_id='YOUR_INSTANCE_ID_HERE',
37
37
secret_key='YOUR_SECRET_KEY_HERE',
38
38
)
@@ -44,7 +44,7 @@ You can broadcast notifications to groups of subscribed devices using `Device In
44
44
45
45
.. code ::
46
46
47
- response = pn_client .publish_to_interests(
47
+ response = beams_client .publish_to_interests(
48
48
interests=['hello'],
49
49
publish_body={
50
50
'apns': {
@@ -70,7 +70,7 @@ Securely send notifications to individual users of your application using `Authe
70
70
71
71
.. code ::
72
72
73
- response = pn_client .publish_to_users(
73
+ response = beams_client .publish_to_users(
74
74
user_ids=['user-0001'],
75
75
publish_body={
76
76
'apns': {
You can’t perform that action at this time.
0 commit comments