get_reddit_gallery function

Get gallery

Get gallery

Get gallery details and metadata

get_reddit_gallery(subreddit, sort = 'time', page = 0, window = 'day', ...)

Arguments

  • subreddit: A character string containing the name of a sub-reddit.
  • sort: One of time (the default) or top .
  • page: A page number of results between 0 and 50.
  • window: If sort == 'top', one of day (the default), week , month , year , or all .
  • ...: Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Details

Get gallery image details and metadata for a sub-reddit gallery.

Returns

An object of class imgur_image .

Author(s)

Thomas J. Leeper

See Also

search_gallery

get_gallery

get_random_images

Examples

## Not run: get_reddit_gallery('dataisbeautiful') ## End(Not run)
  • Maintainer: Thomas J. Leeper
  • License: GPL-3
  • Last published: 2016-03-29