Learn R Programming

imguR (version 1.0.3)

get_reddit_image: 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: token (an OAuth2.0 token) or key (an API key, used by default).

Value

“imgur_gallery_image”.

Details

Get sub-reddit gallery image details and metadata. This is basically the same as get_gallery_image or get_image.

See Also

get_reddit_gallery

get_gallery_image

get_image

Examples

Run this code
## Not run: 
# g <- get_reddit_gallery('dataisbeautiful')
# get_reddit_image('dataisbeautiful', g[[1]])
# get_image(g[[1]])
# ## End(Not run)

Run the code above in your browser using DataLab