node-ddg-api
v0.1.4
Published
A Node.JS module to query the duckduckgo instant answers API.
Downloads
18
Readme
node-ddg-api - DuckDuckGo instant answer API node module
Access the DuckDuckGo API with Nodejs.
Installation
To install via NPM type the following: npm install node-ddg-api
You can also install via git by cloning:
git clone https://github.com/lukewendling/ddg-api.git /path/to/project`Usage
var DDG = require('ddg-api').DDG;
var ddg = new DDG('my-app-name');
ddg.instantAnswer('superman', {skip_disambig: '0'}, function(err, response) {
console.log(response);
});