Google Scholar作者API
获取 Google Scholar 作者的完整资料,包括其发表列表、引用指标以及合作者信息。设置 engine=google_scholar_author 并在 author_id 中传入作者 ID。
Endpoint
Section titled “Endpoint” GET https://serp.shifter.io/v1?engine=google_scholar_author&api_key=YOUR_API_KEY
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | yes | 您的 SERP API 密钥 |
engine | string | yes | 必须为 google_scholar_author |
author_id | string | yes | Google Scholar 作者 ID |
device | string | no | desktop、mobile 或 tablet |
view_op | string | no | view_citation 或 list_colleagues |
sort | string | no | title 或 pubdate |
citation_id | string | no | 当 view_op=view_citation 时为必填 |
hl | string | no | 界面语言代码 |
start | int | no | 用于分页的结果偏移量 |
num | int | no | 每页结果数量 |
Example request
Section titled “Example request”curl "https://serp.shifter.io/v1?engine=google_scholar_author&api_key=YOUR_API_KEY&author_id=LSsXyncAAAAJ"import requests
params = { "engine": "google_scholar_author", "api_key": "YOUR_API_KEY", "author_id": "LSsXyncAAAAJ",}r = requests.get("https://serp.shifter.io/v1", params=params)data = r.json()import fetch from 'node-fetch';
const url = 'https://serp.shifter.io/v1?' + new URLSearchParams({ engine: 'google_scholar_author', api_key: 'YOUR_API_KEY', author_id: 'LSsXyncAAAAJ',});const data = await (await fetch(url)).json();Example response
Section titled “Example response”{ "search_parameters": { "engine": "google_scholar_author", "author_id": "LSsXyncAAAAJ" }, "author": { "name": "Jane Doe", "affiliations": "Professor, Stanford University", "email": "Verified email at stanford.edu", "interests": [ { "title": "Machine Learning" } ], "thumbnail": "https://scholar.google.com/citations?view_op=view_photo&user=..." }, "articles": [ { "title": "Deep learning for computer vision", "link": "https://scholar.google.com/citations?view_op=view_citation&...", "citation_id": "u5HHmVD_uO8C", "year": "2015", "cited_by": { "value": 4500 } } ], "cited_by": { "table": [ { "citations": { "all": 12000, "since_2019": 8000 } } ] }}