account_favorites {imguR} | R Documentation |
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 |
gallery |
A logical indicating whether to only return gallery favorites. |
... |
Other arguments passed to HTTP request functions, for example: |
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
## Not run:
account_favorites('thosjleeper')
## End(Not run)
[Package imguR version 1.0.3 Index]