Liking cljdoc? Tell your friends :D

com.eldrix.hermes.download


available-mlds-distributionsclj

(available-mlds-distributions)
(available-mlds-distributions packages)
source

distributionclj

(distribution id)
(distribution id local)

Returns the distribution with the given identifier. Avoids network calls for locally known distributions, but checks online providers if not found.

Returns the distribution with the given identifier. Avoids network calls
for locally known distributions, but checks online providers if not found.
sourceraw docstring

downloadclj

(download nm params)

Download the named distribution. Parameters:

  • nm : name of the provider e.g. "uk.nhs/sct-clinical"
  • parameters : a map of parameters

The parameters will depend on the exact nature of the provider. Returns the java.nio.file.Path of the directory containing unzipped files.

Download the named distribution.
Parameters:
- nm         : name of the provider   e.g. "uk.nhs/sct-clinical"
- parameters : a map of parameters

The parameters will depend on the exact nature of the provider.
Returns the java.nio.file.Path of the directory containing unzipped files.
sourceraw docstring

download-from-mldsclj

(download-from-mlds package-id {:keys [username password release-date]})

Download the MLDS package specified.

Download the MLDS package specified.
sourceraw docstring

download-from-trudclj

(download-from-trud item-identifier
                    {:keys [api-key cache-dir progress release-date]})

Download an item from TRUD Parameters:

  • item-identifier : item wanted, (e.g. 101)
  • config: a map containing: :api-key : path to file containing TRUD api-key (e.g."/var/hermes/api-key.txt") :cache-dir : TRUD download cache directory (e.g. "/tmp/trud") :progress : print progress? :release-date : (optional) an ISO 8601 date e.g. "2022-02-03" Returns TRUD metadata about the item specified. See com.eldrix.trud.core/get-latest for information about return value.
Download an item from TRUD
Parameters:
- item-identifier : item wanted, (e.g. 101)
- config: a map containing:
  :api-key : path to file containing TRUD api-key (e.g."/var/hermes/api-key.txt")
  :cache-dir : TRUD download cache directory (e.g. "/tmp/trud")
  :progress  : print progress?
  :release-date : (optional) an ISO 8601 date e.g. "2022-02-03"
Returns TRUD metadata about the item specified.
See com.eldrix.trud.core/get-latest for information about return value.
sourceraw docstring

download-mlds-release-fileclj

(download-mlds-release-file username
                            password-file
                            {url :clientDownloadUrl label :label})

Download an MLDS release file

Download an MLDS release file
sourceraw docstring

http-optsclj

Default HTTP client options

Default HTTP client options
sourceraw docstring

make-mlds-idclj

(make-mlds-id {:keys [member releasePackageId]})
source

mlds-base-urlclj

source

mlds-packagesclj

(mlds-packages)

Return all MLDS packages for all members.

Return all MLDS packages for all members.
sourceraw docstring

(print-providers)

Placeholder for a more sophisticated future method of printing available providers.

Placeholder for a more sophisticated future method of printing available
providers.
sourceraw docstring

trud-distributionsclj

source

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

× close