get_reddit_image {imguR} | R Documentation |
Get reddit image
Description
Get sub-reddit gallery image details and metadata
Usage
get_reddit_image(subreddit, id, ...)
Arguments
subreddit |
A character string containing the name of a sub-reddit. |
id |
An image ID or object of class “imgur_image” or “imgur_gallery_image”. |
... |
Other arguments passed to HTTP request functions, for example: |
Details
Get sub-reddit gallery image details and metadata. This is basically the same as get_gallery_image
or get_image
.
Value
An object of class “imgur_gallery_image”.
Author(s)
Thomas J. Leeper
See Also
Examples
## Not run:
g <- get_reddit_gallery('dataisbeautiful')
get_reddit_image('dataisbeautiful', g[[1]])
get_image(g[[1]])
## End(Not run)
[Package imguR version 1.0.3 Index]