get_reddit_image: Get reddit image

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/get_reddit_image.r

Description

Get sub-reddit gallery image details and metadata

Usage

1
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).

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

get_reddit_gallery

get_gallery_image

get_image

Examples

1
2
3
4
5
6
## Not run: 
g <- get_reddit_gallery('dataisbeautiful')
get_reddit_image('dataisbeautiful', g[[1]])
get_image(g[[1]])

## End(Not run)

imguR documentation built on May 30, 2017, 8:16 a.m.