account_images function

Retrieve user images

Retrieve user images

Retrieve details of a user's images

account_images(account = 'me', page = NULL, ids = TRUE, ...) account_image_count(account = 'me', ...)

Arguments

  • account: A username, by default the current user (if token is supplied).
  • page: Optionally, a page of results to return.
  • ids: A logical indicating whether to only return image IDs.
  • ...: Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Details

account_images retrieves details of a user's images. By default (and if a token argument is supplied), the current user's images are returned. Specifying another username is also possible with or without a token. account_image_count returns just the number of images, which is useful for handling pagination of the results.

Returns

For account_images, an object of class imgur_image . For account_image_count, a number.

Author(s)

Thomas J. Leeper

Examples

## Not run: account_images('thosjleeper') ## End(Not run)
  • Maintainer: Thomas J. Leeper
  • License: GPL-3
  • Last published: 2016-03-29