Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dbkaplun/node-googlecustomsearch

Rate-limited Google Custom Search wrapper using promises (DEPRECATED)
https://github.com/dbkaplun/node-googlecustomsearch

Last synced: 28 days ago
JSON representation

Rate-limited Google Custom Search wrapper using promises (DEPRECATED)

Awesome Lists containing this project

README

        

##DEPRECATED!

Use [Google's official NodeJS API client](https://github.com/google/google-api-nodejs-client) instead. See [here](https://github.com/google/google-api-nodejs-client/blob/master/examples/customsearch.js) 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'});