R/get_comment.r

Defines functions get_comment

Documented in get_comment

get_comment <-
function(comment,
         replies = FALSE,
         ...){
    if(replies)
        out <- imgurGET(paste0('comment/', comment, '/replies'), ...)
    else
        out <- imgurGET(paste0('comment/', comment), ...)
    structure(out, class = 'imgur_comment')
}

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.