Learn R Programming

RPushbullet (version 0.3.4)

pbGetDevices: Get registered Pushbullet devices

Description

Retrieve the list of devices registered for the given API key.

Usage

pbGetDevices(apikey = .getKey())

# S3 method for default pbGetDevices(apikey = .getKey())

# S3 method for pbDevices print(x, ...)

# S3 method for pbDevices summary(object, ...)

Arguments

apikey

The API key used to access the service. It can be supplied as an argument here, or via the file ~/.rpushbullet.json which is read at package initialization.

x

Default object for print method

...

Other optional arguments

object

Default object for summary method

Value

The resulting JSON record is converted to a list and returned as a pbDevices object with appropriate print and summary methods.

Details

This function invokes the ‘devices’ functionality of the Pushbullet API; see https://docs.pushbullet.com for more details.