User and group verification
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)
user
: user/group key to verifyapp
: application token (see set_pushover_app
)device
: (optional) device to verify If supplied the device must be registered to the given user's account.verify_user()
and verify_group()
return a list containing the following fields:
status
: request status (1
= success)devices
: a list of the user's devicesrequest
: unique request IDerrors
: a list of error messages (only for unsuccessful requests)raw
: the raw httr::response objectis.registered_user()
and is.registered_group()
return a logical value indicating whether or not the given user or group is registered.
## Not run: verify_user(user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG") ## End(Not run)
Useful links