Request data from the Flickr API
FlickrAPIRequest.Rd
Request data from the Flickr API using the provided method, API key, and any
additional values passed to httr2::req_url_query()
.
Usage
FlickrAPIRequest(
method = NULL,
api_key = NULL,
format = "json",
simplifyVector = TRUE,
check_type = FALSE,
...
)
Arguments
- method
Flickr API method to use for request.
- api_key
Flickr API key. If api_key is
NULL
, the function usesgetFlickrAPIKey()
to use the environment variable "FLICKR_API_KEY" as the key.- format
Format parameter passed to
httr2::req_url_query()
- simplifyVector
Default to
TRUE
, passed tohttr2::resp_body_json()
- check_type
Default to
FALSE
, passed tohttr2::resp_body_json()
- ...
Additional parameters passed to
httr2::req_url_query()