MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "batchcomplete": "",
    "query": {
        "pages": [
            {
                "ns": 0,
                "title": "MediaWiki",
                "missing": ""
            },
            {
                "pageid": 1,
                "ns": 0,
                "title": "\u9996\u9875",
                "pageprops": {
                    "description": "\u5317\u6b66\u5de5\u827a\u65d7\u4e0b\u767e\u79d1\u7f51\u7ad9",
                    "image": "https://image.hokubu.cn/i/2023/07/23/64bce19da5504.png",
                    "keywords": "\u5317\u6b66\u5de5\u827a",
                    "locale": "zh-cn",
                    "manualDescription": "1",
                    "notoc": "",
                    "page_image_free": "Xujiang3.png",
                    "site_name": "\u5317\u6b66\u7ef4\u57fa\u767e\u79d1",
                    "title": "HokubuWiki \u5317\u6b66\u7ef4\u57fa\u767e\u79d1",
                    "type": "website"
                }
            }
        ]
    }
}