MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gatcontinue": "Blue|167",
        "continue": "gatcontinue||"
    },
    "query": {
        "pages": {
            "8": {
                "pageid": 8,
                "ns": 0,
                "title": "Manual:FAQ"
            },
            "14": {
                "pageid": 14,
                "ns": 10,
                "title": "\u6a21\u677f:FAQ"
            },
            "295": {
                "pageid": 295,
                "ns": 0,
                "title": "Wiki\u6a19\u8a18\u5f0f\u8a9e\u8a00"
            },
            "305": {
                "pageid": 305,
                "ns": 0,
                "title": "Category handler"
            },
            "339": {
                "pageid": 339,
                "ns": 0,
                "title": "Lang"
            },
            "400": {
                "pageid": 400,
                "ns": 0,
                "title": "Wikipedia how-to"
            },
            "410": {
                "pageid": 410,
                "ns": 10,
                "title": "\u6a21\u677f:Wiki\u6a19\u8a18\u5f0f\u8a9e\u8a00"
            },
            "419": {
                "pageid": 419,
                "ns": 10,
                "title": "\u6a21\u677f:Category handler"
            },
            "452": {
                "pageid": 452,
                "ns": 10,
                "title": "\u6a21\u677f:Lang"
            },
            "511": {
                "pageid": 511,
                "ns": 10,
                "title": "\u6a21\u677f:Wikipedia how-to"
            }
        }
    }
}