details: details Search Method (Public Method)

View source: R/details.R

detailsR Documentation

details Search Method (Public Method)

Description

details Search Method (Public Method)

Usage

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

## 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 18, 2022, 8:58 a.m.