imguR (version 1.0.3)

account_favorites: Retrieve user favorites

Description

Retrieve details of a user's favorite images

Usage

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

Value

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

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.

Examples

Run this code
## Not run: 
# account_favorites('thosjleeper')
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace