node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

ckan-search

ckan-search

Search CKAN and automatically traverse page list.

NPM

API

searcher = ckan(opts)

Options:

uri: can be changed if you have your own deployment. default 'http://datahub.io/api'

version: defaults to 3

timeout: not implemented

Example

var stream = searcher.stream({fulltext: 'your fulltext query text here'})
stream.on('data', function (data) {
  console.log(data.result.results) // each 'data' is a page from the search api 
})

See test.js for an example.