account_favorites: Retrieve user favorites

Description Usage Arguments Details Value Author(s) Examples

View source: R/account_favorites.r

Description

Retrieve details of a user's favorite images

Usage

1
account_favorites(account = 'me', gallery = FALSE, ...)

Arguments

account

A username, by default the current user (if token is supplied).

gallery

A logical indicating whether to only return gallery favorites.

...

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

Details

account_favorites retrieves details of a user's favoriates. By default (and if a token argument is supplied), the current user's favorites are returned. Specifying another username is also possible with or without a token.

Value

For account_favorites, an object of class “imgur_gallery_image” or “imgur_gallery_album”.

Author(s)

Thomas J. Leeper

Examples

1
2
3
4
## Not run: 
account_favorites('thosjleeper')

## End(Not run)

imguR documentation built on May 2, 2019, 4:02 p.m.