Description Usage Arguments Value Examples
pushover_api()
allows commands to be issued using the Pushover API.
This is a generic function that is meant to be used by higher level
functions. In most instances, more specific functions should be used (e.g.,
pushover()
).
1 | pushover_api(verb, url, ...)
|
verb |
Name of verb to use. |
url |
the url of the page to retrieve |
... |
Arguments passed on to
|
a list containing the following fields and any other fields related to the specific API call:
status
: request status (1
= success)
request
: unique request ID
raw
: the raw httr::response object
errors
: a list of error messages (only for unsuccessful requests)
1 2 3 4 5 6 7 8 | ## Not run:
pushover_api(
verb = "GET",
url = "https://api.pushover.net/1/sounds.json",
query = list(token = "azGDORePK8gMaC0QOYAMyEEuzJnyUi")
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.