View source: R/elsevier_authenticate.R
elsevier_authenticate | R Documentation |
Authenticate API Key and get Token
elsevier_authenticate(
api_key = NULL,
api_key_error = TRUE,
choice = NULL,
verbose = TRUE,
headers = NULL,
...
)
is_elsevier_guest(...)
is_elsevier_authorized(...)
api_key |
Elsevier API key |
api_key_error |
Should there be an error if no API key? |
choice |
Choice of which registered See https://dev.elsevier.com/tecdoc_api_authentication.html |
verbose |
Print messages from specification |
headers |
Headers passed to |
... |
Additional arguments to send to |
List of content, the GET
request,
and the token
if (have_api_key()) {
auth = elsevier_authenticate()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.