get_reddit_image function

Get reddit image

Get reddit image

Get sub-reddit gallery image details and metadata

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.

Returns

An object of class imgur_gallery_image .

Author(s)

Thomas J. Leeper

See Also

get_reddit_gallery

get_gallery_image

get_image

Examples

## Not run: g <- get_reddit_gallery('dataisbeautiful') get_reddit_image('dataisbeautiful', g[[1]]) get_image(g[[1]]) ## End(Not run)
  • Maintainer: Thomas J. Leeper
  • License: GPL-3
  • Last published: 2016-03-29