Retrieve the list of devices registered for the given API key.
pbGetDevices(apikey = .getKey())
## Default S3 method:
pbGetDevices(apikey = .getKey())
## S3 method for class 'pbDevices'
print(x, ...)
## S3 method for class 'pbDevices'
summary(object, ...)
| Argument | Description |
|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 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 |
This function invokes the ‘devices’ functionality of the Pushbullet API; see https://docs.pushbullet.com for more details.
The resulting JSON record is converted to a list and returned as a
pbDevices
object with appropriate print
and summary
methods.
Dirk Eddelbuettel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.