get_memes: Get memes

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/get_memes.r

Description

Get memes from a site

Usage

1
get_memes(site = "memegenerator", type = NULL, query = NULL, ...)

Arguments

site

The site used to generate the meme. This is set by default if template is an object of class “meme_template”. One of “imgflip”, “memegenerator” (the default, only currently supported), “memecaptain”, or “imgur”.

type

If site is “memegenerator”, optionally one of “new”, “popular” (the implicit default), “trending”, or “topic” to return a different subset of template images. For “trending” and “topic”, query should specify an image name or search term, respectively.

query

When site is “memegenerator” and type is “trending” or “topic”, query should specify an image name or search term, respectively.

...

Additional arguments to curlPerform.

Details

A function to retrieve memes from the specified site. Currently only memegenerator is supported.

Value

A list of objects of class “meme”.

Author(s)

Thomas J. Leeper

See Also

get_templates

create_meme

Examples

1
2
3
4
5
## Not run: 
# use memegenerator
get_memes("memegenerator")

## End(Not run)

leeper/meme documentation built on May 21, 2019, 12:37 a.m.