get_notifications {imguR} | R Documentation |
Get notifications
Description
Get a specific notification or all notifications
Usage
get_notifications(id = NULL, only_new = FALSE, ...)
Arguments
id |
A conversation ID. If |
only_new |
A logical indicating whether only new notifications should be returned. Default is |
... |
Other arguments passed to HTTP request functions, for example: |
Details
Retrieves a named notification, possibly returned by get_notifications
, or all (new) notifications.
Value
An object of class “imgur_notification”.
Author(s)
Thomas J. Leeper
See Also
Examples
## Not run:
tkn <- imgur_login()
get_notifications(only_new = TRUE, token = tkn)
## End(Not run)
[Package imguR version 1.0.3 Index]