memes {imguR}R Documentation

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

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.

Value

A list of objects of class “imgur_image” or “imgur_gallery_image”.

Author(s)

Thomas J. Leeper

Examples

## Not run: 
default_memes()
get_memes_gallery('viral', page = 1)

## End(Not run)

[Package imguR version 1.0.3 Index]