Description Usage Arguments Examples
The first time you get the token you will need to authorise your application (mendeleyr) access to your account.
1 | mdl_token(mendeley_conf, cache = NA)
|
mendeley_conf |
a list with two items: |
cache |
A logical value or a string. |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# loads secret from ".mendeley_conf.json" in current directory:
token <- mdl_token()
# loads secret from "secret.json" in current directory
token <- mdl_token("secret.json")
# Loads secret from code (not recommended, as it may be accidentally redistributed)
token <- mdl_token(list(client_id = "given-by-mendeley", client_secret = "given-by-mendeley"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.