api | R Documentation |
Build and start the API
api(
queue_id = NULL,
workers = 2,
results_dir = tempdir(),
inputs_dir = NULL,
log_level = "info"
)
queue_id |
ID of an existing queue to connect to, creates a new one if NULL |
workers |
Number of workers to spawn |
results_dir |
The dir for results to be saved to |
inputs_dir |
THe directory where input files are stored |
log_level |
The "lgr" log level to use |
Running API
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.