Description Usage Arguments Value Examples
To check espa credentials and if espa-api is responding. Suggest to use espa_creds
function to store your credentials before running this function
1 2 |
host |
the api call host. Default set to espa v1 web api |
username |
default NULL, which fetches the username from the global environment. If defined otherwise, will run the api with the provided details |
password |
default NULL, which fetches the password from the global environment. If defined otherwise, will run the api with the provided details |
logical. TRUE if user is active, FALSE if credentials are wrong or API is unresponsive
1 2 3 4 | ## inputting the credentials
espa_creds("your_espaname", "secret_password")
## checking if the user is valid
espa_user() # returns FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.