R/get_replies.r

Defines functions get_replies

Documented in get_replies

get_replies <-
function(only_new = FALSE, ...){
    if(!"token" %in% names(list(...)))
        stop("This operation can only be performed using an OAuth token.")
    out <- imgurGET(paste0('account/me/notifications/replies'),
                    body = list(new = only_new), ...)
    structure(out, class = 'imgur_notification')
}

Try the imguR package in your browser

Any scripts or data that you put into this service are public.

imguR documentation built on May 2, 2019, 4:02 p.m.