API 接口文档
基本信息
• 接口地址:https://softgrid.56mall.cn/data
• 请求方式:GET
• 返回格式:JSON
接口列表
获取最新文章
获取最新更新的软件文章信息
• 接口:/data/latest.json
• 参数:无
• 返回示例:
{
"title": "文本转语音软件 Balabolka v2.15.0.889",
"date": "2025-02-23",
"html_content": "文章HTML内容",
"text_content": "文章纯文本内容",
"images": ["图片URL1", "图片URL2"],
"download_links": [],
"lastmod": "2025-02-23T17:26:29+08:00"
}
获取文章列表
获取指定日期的文章列表
• 接口:/data/YYYY/MM/DD/index.json
• 参数:
- YYYY: 年份,如 2025
- MM: 月份,如 02
- DD: 日期,如 23
• 返回示例:
{
"articles": [
{
"id": 1,
"title": "文本转语音软件 Balabolka v2.15.0.889",
"date": "2025-02-23",
"lastmod": "2025-02-23T17:26:29+08:00",
"path": "data/2025/02/23/articles/1.json"
}
],
"count": 1,
"lastmod": "2025-02-23T17:26:29+08:00"
}
获取索引文件
获取年度/月度索引信息
• 总索引:/data/all.json
• 年度索引:/data/YYYY/index.json
• 月度索引:/data/YYYY/MM/index.json
• 返回示例 (all.json):
{
"2025": {
"count": 58,
"path": "data/2025/index.json"
}
}
获取帮助
如果您在使用API过程中遇到问题,或有其他需求,欢迎通过以下方式联系我们: