MediaWiki API 结果

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

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

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

{
    "continue": {
        "imcontinue": "1|ItemSprite_player-head.png",
        "continue": "||"
    },
    "query": {
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "\u9996\u9875",
                "images": [
                    {
                        "ns": 6,
                        "title": "File:BlockSprite banner.png"
                    },
                    {
                        "ns": 6,
                        "title": "File:BlockSprite beacon.png"
                    },
                    {
                        "ns": 6,
                        "title": "File:BlockSprite bricks.png"
                    },
                    {
                        "ns": 6,
                        "title": "File:BlockSprite command-block.gif"
                    },
                    {
                        "ns": 6,
                        "title": "File:BlockSprite crafting-table.png"
                    },
                    {
                        "ns": 6,
                        "title": "File:Book and Quill.png"
                    },
                    {
                        "ns": 6,
                        "title": "File:Clock.gif"
                    },
                    {
                        "ns": 6,
                        "title": "File:ItemSprite book.png"
                    },
                    {
                        "ns": 6,
                        "title": "File:ItemSprite debug-stick.gif"
                    },
                    {
                        "ns": 6,
                        "title": "File:ItemSprite filled-map.png"
                    }
                ]
            }
        }
    }
}