Description Usage Arguments Value Note Author(s) Examples
A helper function to conveniently switch different APIs.
1 | host(instring)
|
instring |
Either "kobo", "kobohr", "ona", or a custom (full) URL. |
A single string with the URL to use.
API URLs are made available for KoBo Toolbox ("kobo", https://kc.kobotoolbox.org/api/v1/), KoBo Humanitarian Response ("kobohr", https://kc.humanitarianresponse.info/api/v1/), and Ona ("ona", https://ona.io/api/v1/). For your own installation, or other installations using the same API but accessed at a different URL, enter the full URL.
This function is not intended to be called directly. It is used in other functions.
Ananda Mahto
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.