(download-file filename dest-path url)
Download a .tgz or .zip file from google drive and places it in the dest-path.
Download a .tgz or .zip file from google drive and places it in the dest-path.
(download-file-from-google-drive filename
dest-path
url
&
{:keys [overwrite extract]
:or {overwrite false extract false}})
Downloads a shared compressed file from google drive into a given folder. Optionally decompresses it.
Params:
Downloads a shared compressed file from google drive into a given folder. Optionally decompresses it. Params: - filename: name + extensions you want to save the file as - dest-path: the destination to save the downloaded file - url: google drive download url - overwrite: optional, if true forces re-download and overwrite - extract: optional, if true will extract a compressed a file
(get-download-url url)
Get the download URL for the files located on the hosted google drive. The true download URL is embedded within the metadata of the request.
Get the download URL for the files located on the hosted google drive. The true download URL is embedded within the metadata of the request.
(mkdirp path)
Create a directory and any missing parents.
Create a directory and any missing parents.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close