ckan-search
v1.0.1
Published
search ckan with node
Downloads
4
Readme
ckan-search
Search CKAN and automatically traverse page list.
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.