details: details Search Method (Public Method)

Description Usage Arguments Value Examples

Description

details Search Method (Public Method)

Usage

1
2
3
4
5
details(query, type = c("mendeley", "arxiv", "doi", "isbn", "pmid", "scopus",
  "ssm"), key = getOption("MendeleyKey",
  stop("need an API key for Mendeley")), url = sprintf("%s/%s",
  "http://api.mendeley.com/oapi/documents/details", query),
  curl = getCurlHandle(), ...)

Arguments

query

an object identifer of type identified by type

type

the type of object identifier to use

url

Mendeley API URL (don't change this)

key

Mendeley API key (otherwise will try and load from server)

curl

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)

Value

the details of the paper being queried

Examples

1
2
3
4
5
## Not run: 
ali <- details('10.1073/pnas.0810311106', type='doi')
 a <- details('cabcbae0-839b-11df-aedb-0024e8453de8') # uuid

## End(Not run)

ropensci/RMendeley documentation built on May 27, 2019, 2:03 p.m.