MediaWiki API 结果

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

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

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

{
    "continue": {
        "tlcontinue": "1|10|Main_page/featured",
        "continue": "||"
    },
    "query": {
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "templates": [
                    {
                        "ns": 0,
                        "title": "Main Page/News"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:BilibiliButton"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Card"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Cite web"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Clear"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:DQ"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:IfdianButton"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main page/characterselect"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main page/communitylinks"
                    },
                    {
                        "ns": 10,
                        "title": "\u6a21\u677f:Main page/editingtools"
                    }
                ]
            }
        }
    }
}