Learn R Programming

imguR (version 1.0.3)

memes: Memes

Description

View memes and meme templates

Usage

default_memes(...)
get_memes_gallery(sort = 'viral', page = 0, window = NULL, ...)
get_meme(id, ...)

Arguments

sort
One of “viral” (the default), “time”, or “top”.
page
A page number of results between 0 and 50.
window
One of “day”, “week”, “month”, “year”, or “all”.
id
An image ID, perhaps returned by get_memes_gallery.
...
Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Value

“imgur_image” or “imgur_gallery_image”.

Details

default_memes returns a list of default memes available on Imgur. get_memes_gallery returns a list of trending memes. get_meme returns a specific meme image.

Examples

Run this code
## Not run: 
# default_memes()
# get_memes_gallery('viral', page = 1)
# ## End(Not run)

Run the code above in your browser using DataLab