search_gallery: Search gallery

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

View source: R/search_gallery.r

Description

Search Imgur public gallery

Usage

1
search_gallery(query, sort = 'time', page = 1, ...)

Arguments

query

A character string containing a search term.

sort

One of “time” or “top”.

page

A page number.

...

Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Details

Search the gallery and return gallery images and associated metadata.

Value

An object of class “imgur_gallery_album”.

Author(s)

Thomas J. Leeper

See Also

get_gallery

get_gallery_image

get_random_images

Examples

1
2
3
4
## Not run: 
search_gallery(query = 'meme')

## End(Not run)

imguR documentation built on May 30, 2017, 8:16 a.m.