You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5870b6e
Browse filesBrowse the repository at this point in the historyBrowse files
An empty list means no device is paired. Install ActivitySmith on your iPhone, sign in with the same account, and allow notifications. Channel-scoped API keys cannot list devices.
44
+
45
+
Pass `include_inactive` to also list devices that can no longer receive deliveries:
Pass the `notification_id` to `dismiss` when a Push Notification no longer needs attention, for example after you answered an agent's question somewhere else. Dismissing clears it from the Lock Screen and Notification Center on every device it was sent to. History keeps it.
240
+
241
+
Devices clear the notification in the background, so it can take a moment.
ActivitySmith lets you display any value on your Lock Screen with widgets - SaaS metrics, revenue, signups, uptime, habits, or anything else you want to track. Create a metric in the [web app](https://activitysmith.com/app/widgets), then update the metric value using our API, add a widget to your lock screen and it will fetch the latest update automatically.
630
+
ActivitySmith lets you display any value on your Lock Screen with widgets - SaaS metrics, revenue, signups, uptime, habits, or anything else you want to track. Send a value to a metric key, add a widget to your Lock Screen, and it fetches the latest value automatically.
Use `create` to set the label and how widgets show the value, such as currency, percent, or a unit. Omitted fields keep their current values, so you can call it every time your app starts.
647
+
648
+
```python
649
+
activitysmith.metrics.create(
650
+
"mrr",
651
+
label="MRR",
652
+
format="currency",
653
+
currency_code="USD",
654
+
)
655
+
656
+
activitysmith.metrics.update("mrr", 12450)
657
+
```
658
+
659
+
You can also create and edit metrics in the [web app](https://activitysmith.com/app/widgets).
0 commit comments