kntn_file.Rd
Get a file from kintone API and parse it with content. If you want to parse it by yourself,
specify as = "raw"
or as = "text"
.
kntn_file(fileKey, verbose = FALSE, as = NULL, type = NULL, encoding = NULL)
fileKey | File key. |
---|---|
verbose | If |
as |
|
type |
|
encoding |
|
# NOT RUN { kntn_set_auth() app <- 10 # get a single record with a file attachment field d <- kntn_record(app, id = 1) f <- kntn_file(fileKey = x$Attachment[[1]]$fileKey[1]) # }