微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔬

百度学术文献一站式检索

baidu-scholar-search · vv1.0.0
效率 安全 S 级 作者 jlpJavaWayUp 公开目录收录
下载 1.3k 安装 459 收藏 3.7k 浏览 17.6k
原始页面

简介

基于百度千帆平台的学术搜索技能,支持中英文期刊、会议论文及学位论文检索,为科研人员提供结构化的文献资源获取服务。

原始描述

Baidu Academic Search Tool enables the retrieval of both Chinese and English literature, covering various types of literature such as academic journals, conference papers, and dissertations.

技能正文


name: baidu-scholar-search description: Baidu Academic Search Tool enables the retrieval of both Chinese and English literature, covering various types of literature such as academic journals, conference papers, and dissertations. homepage: https://xueshu.baidu.com/ metadata: { "openclaw": { "emoji": "🔬", "requires": { "bins": ["curl"] } } }

Baidu Scholar Search

Based on the keywords entered by the user, search for both Chinese and English literature, covering various types of literature such as academic journals, conference papers, and dissertations

Setup

  1. API Key: Ensure the BAIDU_API_KEY environment variable is set with your valid API key.
  2. Environment: The API key should be available in the runtime environment.

API table

name path description
scholar_search /v2/tools/baidu_scholar/search Based on the keywords entered, search for both Chinese and English literature

Workflow

  1. The script makes a GET request to the Baidu Scholar Search API
  2. The API returns structured search results with abstract, keyword, paperId, title etc. about a list of literature

Scholar Search API

Parameters

  • wd: The search keywords(required,e.g. 'machine learning')
  • pageNum: page num (default: 0)
  • enable_abstract: whether to enable abstract (default: false), if true return the abstract of the literature

Example Usage

curl -XGET 'https://qianfan.baidubce.com/v2/tools/baidu_scholar/search?wd=人工智能&enable_abstract=true' \
-H 'Authorization: Bearer API_KEY'

EXEC scripts

#!/bin/bash

# Baidu Scholar Search Skill Implementation

set -e

# Check if required environment variable is set
if [ -z "$BAIDU_API_KEY" ]; then
    echo '{"error": "BAIDU_API_KEY environment variable not set"}'
    exit 1
fi

WD="$1"
if [ -z "$wd" ]; then
    echo '{"error": "Missing wd parameter"}'
    exit 1
fi
pageNum="$2"
if [ -z "$pageNum" ]; then
    pageNum=0
fi
enable_abstract="$3"
if [ -z "$pageNum" ]; then
    enable_abstract=false
fi
curl -XGET "https://qianfan.baidubce.com/v2/tools/baidu_scholar/search?wd=$WD&pageNum=$pageNum&enable_abstract=$enable_abstract" -H "Authorization: Bearer $BAIDU_API_KEY" 

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

education-researchcontent-mediaapidocsdata-analytics

同类 Skill