【文件属性】:
文件名称:google-search-api:一个简单的谷歌搜索 API
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-02 20:50:50
JavaScript
谷歌搜索API
简单的谷歌搜索 API。
要求
使用 querystring query向端点发出一个简单的GET请求,如下例所示:
curl https://googlesearch.herokuapp.com/api/search ? query=maru+the+cat
回复
带有title 、 blurb和link的结果数组:
[
{
"title" : "Maru (cat) - Wikipedia, the free encyclopedia" ,
"blurb" : "Maru (まる, Japanese: circle or round; born May 24, 2007) is a male Scottish Fold \n(straight variety) cat in Japan who has become popular on Yo
【文件预览】:
google-search-api-master
----.gitignore(587B)
----README.md(2KB)
----views()
--------index.html(2KB)
----bin()
--------server(658B)
----Procfile(9B)
----LICENSE(1KB)
----server()
--------routes.js(452B)
----package.json(742B)
----Makefile(741B)
----lib()
--------google.js(856B)
--------render.js(188B)