File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ activitysmith = ActivitySmith(
3535
3636### Send a Push Notification
3737
38+ <p align =" center " >
39+ <img src =" https://cdn.activitysmith.com/features/new-subscription-push-notification.png " alt =" Push notification example " width =" 680 " />
40+ </p >
41+
3842``` python
3943response = activitysmith.notifications.send(
4044 {
@@ -50,6 +54,10 @@ print(response.devices_notified)
5054
5155### Start a Live Activity
5256
57+ <p align =" center " >
58+ <img src =" https://cdn.activitysmith.com/features/start-live-activity.png " alt =" Start live activity example " width =" 680 " />
59+ </p >
60+
5361``` python
5462start = activitysmith.live_activities.start(
5563 {
@@ -70,6 +78,10 @@ activity_id = start.activity_id
7078
7179### Update a Live Activity
7280
81+ <p align =" center " >
82+ <img src =" https://cdn.activitysmith.com/features/update-live-activity.png " alt =" Update live activity example " width =" 680 " />
83+ </p >
84+
7385``` python
7486update = activitysmith.live_activities.update(
7587 {
@@ -87,6 +99,10 @@ print(update.devices_notified)
8799
88100### End a Live Activity
89101
102+ <p align =" center " >
103+ <img src =" https://cdn.activitysmith.com/features/end-live-activity.png " alt =" End live activity example " width =" 680 " />
104+ </p >
105+
90106``` python
91107end = activitysmith.live_activities.end(
92108 {
You can’t perform that action at this time.
0 commit comments