Google Services API
Access Google services including author information and citation data through a unified API powered by ScrapingDog.
POST
/v1/google/*响应字段说明
/v1/google/scholar/author响应格式: JSON| 字段 | 类型 | 说明 |
|---|---|---|
success | boolean | 请求是否成功。 |
message | string | 本次处理结果的摘要信息。 |
data | object | null | 上游服务返回的数据;失败时通常为 null。 |
error.code | string | 失败时的机器可读错误码。 |
error.details | string | 失败原因详情。 |
data.author | object | 姓名、机构、邮箱、头像及研究兴趣等作者资料。 |
data.articles[] | object[] | 论文列表及各论文引用数据。 |
data.cited_by | object | 总引用数、h-index、i10-index 及年度统计。 |
data.co_authors[] | object[] | 共同作者列表。 |
data.public_access | object | 公开访问统计。 |
/v1/google/scholar/author-citation响应格式: JSON| 字段 | 类型 | 说明 |
|---|---|---|
success | boolean | 请求是否成功。 |
message | string | 本次处理结果的摘要信息。 |
data | object | null | 上游服务返回的数据;失败时通常为 null。 |
error.code | string | 失败时的机器可读错误码。 |
error.details | string | 失败原因详情。 |
data.citations | object | 指定论文的引用详情。 |
data.citations.title | string | 论文标题。 |
data.citations.authors | string | 作者信息。 |
data.citations.publication_date | string | 发表日期。 |
data.citations.total_citations | object | 总引用数及引用链接。 |
data.citations.articles[] | object[] | 引用该论文的文献。 |
响应
Response
{
"success": true,
"message": "Scholar author information retrieved",
"data": {
"author": {
"name": "Geoffrey Hinton",
"author_id": "JicYPdAAAAAJ"
}
}
}示例
import requests
API_KEY = "your_api_key_here"
BASE_URL = "https://api.qinyanai.com"
# Get author details
response = requests.post(
f"{BASE_URL}/v1/google/scholar/author",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"author_id": "JicYPdAAAAAJ"}
)