verify_user
determines whether or not the given user or
group is registered with Pushover, returning information about that user.
is.registered_user
indicates whether or not a given user ID
is registered with Pushover
verify_group
is an alias for verify_user
validate_key
is deprecated in favor of
verify_user
is.valid_key
is deprecated in favor of is.registered_user
or is.registered_group
verify_user(user, app = get_pushover_app(), device = NULL)is.registered_user(user, app = get_pushover_app(), device = NULL)
verify_group(user, app = get_pushover_app(), device = NULL)
validate_key(user, device = NA_character_, ...)
is.registered_group(user, app = get_pushover_app(), device = NULL)
is.valid_key(user, device = NA, ...)
user/group key to verify
application token (see set_pushover_app
)
(optional) device to verify If supplied the device must be registered to the given user's account.
Additional arguments (no longer used)
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 response
object
is.registered_user
and is.registered_group
return a
logical value indicating whether (TRUE
) or not (FALSE
) the
given user or group is registered.
is.valid_user
and is.valid_group
to
determine whether or not a user key has valid formatting, but is not
necessarily registered.
# NOT RUN {
verify_user(user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG")
# }
Run the code above in your browser using DataLab