R/get_gallery_images.r

Defines functions get_gallery_image

Documented in get_gallery_image

get_gallery_image <- 
function(id, ...){
    if(inherits(id, 'imgur_image') || inherits(id, 'imgur_gallery_image'))
        id <- id$id
    out <- imgurGET(paste0('gallery/image/', id), ...)
    structure(out, class = 'imgur_gallery_image')
}

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.