Web Search by Desearch技能使用说明
2026-03-26
新闻来源:网淘吧
围观:88
电脑广告
手机广告
网络搜索 By Desearch
实时网络搜索,返回结构化的SERP风格结果,包含标题、链接和摘要。
快速开始
- 从以下网址获取API密钥:https://console.desearch.ai
- 设置环境变量:
export DESEARCH_API_KEY='your-key-here'
用法
# 基本网络搜索
desearch.py web "quantum computing"
# 分页结果
desearch.py web "quantum computing" --start 10
选项
| 选项 | 描述 |
|---|---|
--start | 分页偏移量(默认值:0)。用于获取下一页结果。 |
响应
示例
desearch.py web "best sights in Georgia"
{
"data": [
{
"title": "Cool places and fun things to do in Georgia ? : r/solotravel",
"snippet": "I was in Georgia earlier this month. My favorite place was Mtirala National Park in Adjara. The mountains and forest were absolutely beautiful ...",
"link": "https://www.reddit.com/r/solotravel/comments/py4wls/cool_places_and_fun_things_to_do_in_georgia/",
},
]
}
说明
- 每页最多返回10个结果。使用
--start进行分页。
错误
状态 401,未授权(例如,缺少/无效的API密钥)
{
"detail": "Invalid or missing API key"
}
状态 402,需要付款(例如,余额耗尽)
{
"detail": "Insufficient balance, please add funds to your account to continue using the service."
}
资源
文章底部电脑广告
手机广告位-内容正文底部
上一篇:Git Workflows技能使用说明
下一篇:finance技能使用说明


微信扫一扫,打赏作者吧~