NCBI.searchArticlesUid()

List articles UID which match the specified search query.

Usage

Hover over inputs/exits for more info.

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


// List articles UID which match the specified search query.

NCBI.searchArticlesUid({

db: 'pubmed',

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'
query required

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.

{ count: 1243, retmax: 10, retstart: 5, idlist: [ 123456, 465786 ] }