send_push_notification: Send push notification to devices

Description Usage Arguments Bugs Examples

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

1
2
3
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

1
## Not run: send_push_notification(user_key = "xxxxxx", api_token = "xxxxx")

epijim/notifyme documentation built on May 16, 2019, 8:17 a.m.