get_devices: Get a list of the user's registered devices

Description Usage Arguments Value Examples

Description

get_devices queries the Pushover API for a list of the devices that have been registered by the given user

is.device determines whether the given device is registered to the given user

Usage

1
2
3

Arguments

user

Pushover user key (see set_pushover_user)

app

Pushover application token (see set_pushover_app)

device

The name of a device

Value

get_devices returns a list of device names registered by the given user

is.device returns a logical value for each of the given devices that indicates whether (TRUE) or not (FALSE) that device is registered to the given user.

Examples

1
2
3
4
5
6
7
8
## Not run: 
get_devices(user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG", app = "azGDORePK8gMaC0QOYAMyEEuzJnyUi")

## End(Not run)
## Not run: 
is.device(device = "phone")

## End(Not run)

pushoverr documentation built on May 2, 2019, 3:28 p.m.