Liking cljdoc? Tell your friends :D

com.eldrix.hermes.download


downloadclj

(download nm parameters)

Download the named distribution. Parameters:

  • nm : name of the provider e.g. "uk.nhs/sct-clinical"
  • parameters : a sequence of key value pairs with optional 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 sequence of key value pairs with optional parameters.

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

download-from-trudclj

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

Download an item from TRUD Parameters:

  • item-identifier : item wanted, (e.g. 221)
  • 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". 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. 221)
- 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".
Returns TRUD metadata about the item specified.
See com.eldrix.trud.core/get-latest for information about return value.
raw 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.
raw docstring

registryclj

A registry of download providers.

A registry of download providers. 
raw docstring

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

× close