get_pushover_limits {pushoverr}R Documentation

Get usage and limit information for Pushover applications

Description

get_pushover_limits() retrieves the message usage and limit information for the given application.

Usage

get_pushover_limits(app = get_pushover_app())

Arguments

app

application token (see set_pushover_app())

Value

A list containing messaging usage for the given app. Fields include:

Note

This information can alternatively be gotten by examining the headers in the response to previous API calls. Look for headers x-limit-app-limit, x-limit-app-remaining, and x-limit-app-reset. For example, if x stores the response from a pushover() call, httr::headers(x$raw) will return all of the headers included in the response.

Examples

## Not run: 
lims <- get_pushover_limits(app = "azGDORePK8gMaC0QOYAMyEEuzJnyUi")

## End(Not run)

[Package pushoverr version 1.1.0 Index]