google-search-api
=================
> Simple Google search API.
![](http://media.giphy.com/media/daBOvrk2ejViU/giphy.gif)
### Request
A simple `GET` request to the endpoint with querystring `query`, as per example below:
```bash
curl https://googlesearch.herokuapp.com/api/search?query=maru+the+cat
```
### Response
An array of the results with `title`, `blurb`, and `link`:
```javascript
[
{
"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 YouTube. As of April ...",
"link": "http://en.wikipedia.org/wiki/Maru_(cat)"
},
{
"title":"mugumogu - YouTube",
"blurb":"名前:まる 種類:スコティッシュフォールド オス Name:Maru Breed:Scottish Fold Male.",
"link": "https://www.youtube.com/user/mugumogu"
}
// ..
]
```
### Try it
Click [here](https://googlesearch.herokuapp.com/api/search?query=maru+the+cat).
## License (MIT)
```
WWWWWW||WWWWWW
W W W||W W W
||
( OO )__________
/ | \
/o o| MIT \
\___/||_||__||_|| *
|| || || ||
_||_|| _||_||
(__|__|(__|__|
```
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
没有合适的资源?快使用搜索试试~ 我知道了~
google-search-api:一个简单的谷歌搜索 API
共11个文件
js:3个
server:1个
procfile:1个
需积分: 11 7 下载量 125 浏览量
2021-07-02
20:50:50
上传
评论
收藏 8KB ZIP 举报
温馨提示
谷歌搜索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.zip (11个子文件)
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
共 11 条
- 1
资源评论
FranklinZheng
- 粉丝: 27
- 资源: 4566
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功