View source: R/get_theme_info.R
get_theme_info | R Documentation |
This function is a wrapper for the Get Theme Info API. It returns a named character vector of Theme Name and Query Name.
get_theme_info(token, theme)
token |
User's API token. This can be retrieved using |
theme |
Query name of theme. Themes’ query names can be retrieved using |
A named character vector of Theme Name and Query Name.
If an error occurred, the function returns NULL
along with a warning message.
# returns named character vector ## Not run: get_theme_status(token, "kindergartens") # returns NULL, warning message shows status code ## Not run: get_theme_status("invalid_token", "blood_bank") # returns NULL, warning message shows error ## Not run: get_theme_status(token, "invalid_theme")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.