Skip to content

Commit 9aef568

Browse files
committed
Fix readme
1 parent b2201ce commit 9aef568

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Pusher Push Notifications Python server SDK
44
Installation
55
------------
66
The Pusher Notifications Python server SDK is available on PyPi
7-
`here <http://www.python.org/>`_.
7+
`here <https://pypi.python.org/pypi/pusher_push_notifications/>`_.
88

99
You can install this SDK by using
10-
`pip <https://pip.pypa.io/en/stable/installing/`_:
10+
`pip <https://pip.pypa.io/en/stable/installing/>`_:
1111

1212
.. code:: bash
1313
@@ -24,7 +24,7 @@ Use your instance id and secret (you can get these from the
2424

2525
.. code:: python
2626
27-
import PushNotifications from pusher_push_notifications
27+
from pusher_push_notifications import PushNotifications
2828
2929
pn_client = PushNotifications(
3030
instance_id='YOUR_INSTANCE_ID_HERE',
@@ -35,6 +35,7 @@ Publishing a Notification
3535
~~~~~~~~~~~~~~~~~~~~~~~~~
3636

3737
Once you have created your PushNotifications instance you can publish a push notification to your registered & subscribed devices:
38+
3839
.. code:: python
3940
4041
response = pn_client.publish({'interests': ['hello'], 'apns': {'aps': {'alert': 'Hello!'}}})

0 commit comments

Comments
 (0)