account_images: Retrieve user images

Description Usage Arguments Details Value Author(s) Examples

View source: R/account_images.r

Description

Retrieve details of a user's images

Usage

1
2
3

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.

Value

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

Author(s)

Thomas J. Leeper

Examples

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

## End(Not run)

imguR documentation built on May 30, 2017, 8:16 a.m.