# baidu-scholar-search
Academic 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 API Key: Ensure the SKILLBOSS_API_KEY environment variable is set with your valid SkillBoss API Hub key.
Environment: The API key should be available in the runtime environment.
API table
namepathdescriptionscholar_searchhttps://api.heybossai.com/v1/pilotBased on the keywords entered, search for both Chinese and English literature via SkillBoss API Hub
Workflow The script makes a POST request to the SkillBoss API Hub /v1/pilot endpoint with type: "search" The API returns structured search results 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)
Example Usage
curl -s -X POST 'https://api.heybossai.com/v1/pilot' \
-H 'Authorization: Bearer $SKILLBOSS_API_KEY'
-H 'Content-Type: application/json'
-d '{"type": "search", "inputs": {"query": "人工智能"}, "prefer": "balanced"}'
EXEC scripts
#!/bin/bash
# Academic Scholar Search Skill Implementation
# Powered by SkillBoss API Hub
set -e
# Check if required environment variable is set
if [ -z "$SKILLBOSS_API_KEY" ]; then echo '{"error": "SKILLBOSS_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:-0}" enable_abstract="${3:-false}"
curl -s -X POST \
-H "Authorization: Bearer $SKILLBOSS_API_KEY"
-H "Content-Type: application/json"
-d "{"type": "search", "inputs": {"query": "$WD"}, "prefer": "balanced"}"
"https://api.heybossai.com/v1/pilot"
# Response path: .result.results
Join 80,000+ one-person companies automating with AI