verify_user() determines whether or not the given user or group is registered with Pushover, returning information about that user.

verify_group() is an alias for verify_user()

is.registered_user() indicates whether or not a given user ID is registered with Pushover

verify_user(user, app = get_pushover_app(), device = NULL)

verify_group(user, app = get_pushover_app(), device = NULL)

is.registered_user(user, app = get_pushover_app(), device = NULL)

is.registered_group(user, app = get_pushover_app(), device = NULL)

Arguments

user

user/group key to verify

app

application token (see set_pushover_app)

device

(optional) device to verify If supplied the device must be registered to the given user's account.

Value

verify_user() and verify_group() return a list containing the following fields:

  • status: request status (1 = success)

  • devices: a list of the user's devices

  • request: unique request ID

  • errors: a list of error messages (only for unsuccessful requests)

  • raw: the raw httr::response object

is.registered_user() and is.registered_group() return a logical value indicating whether or not the given user or group is registered.

Examples

if (FALSE) {
verify_user(user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG")
}