send_push_notification {notifyme} | R Documentation |
Send push notification to devices
Description
This function will send a push notification to your device via the push over API. You must make an account with that service (pushover.net) and get an API key and userkey.
Usage
send_push_notification(title = "Your R session says:",
message = paste0("Message sent: ", Sys.time()), api_token = NULL,
user_key = NULL, priority = "medium", file = "~/r_keychain.rds")
Arguments
title |
Title of the push notification. Defaults to message from r. |
message |
Message body. Default just tells time message sent. |
api_token |
API token - create your own in a few minutes from pushover.net dashboard. |
user_key |
This is the key that identifies you. It's on the pushover.net dashboard. |
priority |
'low' means no beep/vibrate, 'medium' means beep/vibrate, 'high' means require response on device. |
file |
Optional - location of keychain if using. |
Bugs
Code repo: https://github.com/epijim/notifyme
Examples
## Not run: send_push_notification(user_key = "xxxxxx", api_token = "xxxxx")
[Package notifyme version 0.3.0 Index]