account_albums {imguR} | R Documentation |
Retrieve user albums
Description
Retrieve details of a user's albums
Usage
account_albums(account = 'me', ids = TRUE, ...)
account_album_count(account = 'me', ...)
Arguments
account |
A username, by default the current user (if |
ids |
A logical indicating whether to only return album IDs. |
... |
Other arguments passed to HTTP request functions, for example: |
Details
account_albums
retrieves details of a user's albums. By default (and if a token
argument is supplied), the current user's albums are returned. Specifying another username is also possible with or without a token
. account_album_count
returns just the number of albums, which is useful for handling pagination of the results.
Value
For account_albums
, a list of objects of class “imgur_albums”. For account_album_count
, a number.
Author(s)
Thomas J. Leeper
Examples
## Not run:
account_albums('thosjleeper')
## End(Not run)
[Package imguR version 1.0.3 Index]