【文件属性】:
文件名称:node-googlecustomsearch:使用承诺的限速 Google 自定义搜索包装器(已弃用)
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-01 23:18:01
JavaScript
##已弃用!
请改用。 有关示例用法,请参见 。
节点谷歌customsearch
使用承诺的限速 Google 自定义搜索包装器
安装
npm install googlecustomsearch
用法
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'});
【文件预览】:
node-googlecustomsearch-master
----README.md(701B)
----.gitignore(98B)
----index.js(1KB)
----package.json(472B)