Liking cljdoc? Tell your friends :D

clj-gdrive-downloader.core


csclj

source

download-fileclj

(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.
sourceraw docstring

download-file-from-google-driveclj

(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:

  • 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
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
sourceraw docstring

get-download-urlclj

(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.
sourceraw docstring

mkdirpclj

(mkdirp path)

Create a directory and any missing parents.

Create a directory and any missing parents.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close