Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/get_reddit_image.r
Get sub-reddit gallery image details and metadata
1 | get_reddit_image(subreddit, id, ...)
|
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: |
Get sub-reddit gallery image details and metadata. This is basically the same as get_gallery_image
or get_image
.
An object of class “imgur_gallery_image”.
Thomas J. Leeper
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.