MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "2": {
                "pageid": 2,
                "ns": 0,
                "title": "\u9996\u9875",
                "templates": [
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main page/gamebuild"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main \u53cb\u60c5\u94fe\u63a5"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main \u5feb\u901f\u8bbf\u95ee"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main \u70ed\u95e8\u63a8\u8350"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main \u7ef4\u57fa\u8be6\u60c5"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:\u4e3b\u9875\u641c\u7d22\u6846"
                    }
                ]
            }
        }
    }
}