View source: R/qcri_get_domains.R
qcri_get_domains | R Documentation |
This function retrieves the supported domains from the QCRI Multiterm API.
qcri_get_domains(api_key = qcri_api_key())
api_key |
The API key associated with the user account being used. If not provided, the function will attempt to retrieve it from the QCRI_API_KEY environment variable. |
A list with keys:
success
: Boolean indicating whether the request succeeded.
domains
: Array of supported domains, such as news, tedtalks etc. Only present if success is true.
error
: Error message in case success is false.
## Not run:
qcri_get_domains(api_key = "YourApiKey")
qcri_get_domains()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.