NCBI.getSummary()

Use ESummary NCBI API to return document summaries for a list of UIDs or for a search query.

Usage

Hover over inputs/exits for more info.

var NCBI = require('machinepack-ncbi');


// Use ESummary NCBI API to return document summaries for a list of UIDs or for a search query.

NCBI.getSummary({

db: 'pubmed',

id: [ 15718680, 157427902, 119703751 ],

query: 'science[journal]+AND+breast+cancer+AND+2008[pdat]',

max: 100,

start: 10,

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

db required

The database

'pubmed'
id

UID list of documents

[ 15718680, 157427902, 119703751 ]
query

The search query

'science[journal]+AND+breast+cancer+AND+2008[pdat]'
max

Max results by request (max = 1000)

100
start

First record to query

10

Exits

error

An unexpected error occurred.

success

OK.

[ {} ]