slc_api
Invoke any of 97 Shanghai Library open data APIs by supplying the endpoint ID, query parameters, optional path arguments, and your API key. Covers genealogy, ancient books, maps, films, and more.
Instructions
通用分发器:调用 api_2025 注册的全部 webapi 接口(家谱/古籍/盛档/人名库/碑帖/电影/期刊/舆图/书目/地名志/武康路 等 97 个)。endpoint 填接口 id;params 填查询参数(JSON);path_args 填路径占位{0}{1};key 填自己的上海图书馆开放数据 APIKey(必填)。先用 slc_endpoints 查 id。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | 上海图书馆开放数据 APIKey(必填) | |
| params | No | 查询参数,如 freetext=江南, pageNum=1 | |
| endpoint | Yes | 接口 id 或 家族名(取该家族首个接口) | |
| path_args | No | 路径占位 {0}{1} 的取值列表 |