ntfy_history {ntfy} | R Documentation |
Retrieve History of Notifications
ntfy_history(
since = "all",
topic = ntfy_topic(),
server = ntfy_server(),
auth = ntfy_auth(),
username = ntfy_username(),
password = ntfy_password(),
...
)
since |
duration (e.g. |
topic |
subscribed topic to which to send notification |
server |
ntfy server |
auth |
logical indicating if the topic requires password authorization |
username |
username with access to a protected topic. |
password |
password with access to a protected topic. |
... |
any other (named) query parameters to add to the request |
a data.frame()
with one row per notification, with columns as
described in the documentation
https://ntfy.sh/docs/subscribe/api/#json-message-format
# get the last hour of notifications
ntfy_history(since = "1h")