User specific API methods require obtaining access keys
from Mendeley.com. To do so, first sign up at the Mendeley
developer site and
obtain Mendeley API keys. Ideally you should store these
keys in your
.rprofile like so:
options(MendeleySecret="Your_secret_key") If this is
not possible (assuming you are on a public machine), then
you can spefify both inline. Calling
with the right keys will launch your default browser and
take you to Mendeley.com to authorize this application. If
you are not logged in, you will first be prompted to login
with your Mendeley user/pass. Next, click accept to see a
pin. At that point, copy the pin and paste it back at the R
prompt. If you assign this to a R object, then you can use
that as the first argument in all functions that require
authentication. If you have successfully completed this
step, you should ideally save the
object to disk for future use. There is no need to repeat
this step each time.
1 2 3 4
Consumer key. can be supplied here or read from Options()
Consumer secret. can be supplied here or read from Options()
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)
optional additional curl options (debugging tools mostly).
Karthik Ram [email protected]
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.