Write helper
api_write(.data, file, overwrite = FALSE, ...)
.data
: Result of a call to api
file
: (character) Full file path to write tooverwrite
: (logical) Will only overwrite existing path if TRUE
...
: ignored for now## Not run: ## write to disk ff <- tempfile(fileext = ".json") api('https://api.github.com/') %>% api_path(repos, ropensci, rgbif, issues) %>% api_write(ff) jsonlite::fromJSON(ff) ## End(Not run)