Rate-limited Google Custom Search wrapper using promises (DEPRECATED)
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

##DEPRECATED!

Use Google's official NodeJS API client instead. See here for example usage.

node-googlecustomsearch

Rate-limited Google Custom Search wrapper using promises

Installation

npm install googlecustomsearch

Usage

var GoogleCustomSearch = require('googlecustomsearch');
var cse = new GoogleCustomSearch({/* key: ..., cx: ... */});
cse.search('node-googlecustomsearch').done(function (data) { console.log(data.items); });
cse.search('carl sagan', {siteSearch: 'wikipedia.org'});