SerpApiGoogleShoppingTool
描述
利用SerpApiGoogleShoppingTool 通过 SerpApi 查询 Google Shopping 并检索面向产品的结果。
安装
环境变量
SERPAPI_API_KEY(必需): SerpApi 的 API 密钥。在 https://serpapi.com/ 创建 (有免费套餐)。
示例
代码
注意
- 在环境中设置
SERPAPI_API_KEY。在 https://serpapi.com/ 创建密钥 - 另请参阅通过 SerpApi 进行的 Google 网页搜索:
/en/tools/search-research/serpapi-googlesearchtool
参数
运行参数
search_query(str, 必需): 产品搜索查询。location(str, 可选): 地理位置参数。
