MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gafcontinue": "Banner_The_Punic_Wars.jpg",
        "continue": "gafcontinue||"
    },
    "query": {
        "pages": {
            "2658": {
                "pageid": 2658,
                "ns": 6,
                "title": "File:Babylon.png"
            },
            "2659": {
                "pageid": 2659,
                "ns": 6,
                "title": "File:Bactria.png"
            },
            "2660": {
                "pageid": 2660,
                "ns": 6,
                "title": "File:Bambyce.png"
            },
            "1869": {
                "pageid": 1869,
                "ns": 6,
                "title": "File:Bankruptcy.png"
            },
            "2661": {
                "pageid": 2661,
                "ns": 6,
                "title": "File:Banner Complete Soundtrack.jpg"
            },
            "2662": {
                "pageid": 2662,
                "ns": 6,
                "title": "File:Banner Deluxe Edition Upgrade Pack.jpg"
            },
            "2663": {
                "pageid": 2663,
                "ns": 6,
                "title": "File:Banner Epirus.jpg"
            },
            "3661": {
                "pageid": 3661,
                "ns": 6,
                "title": "File:Banner Heirs of Alexander.jpg"
            },
            "2664": {
                "pageid": 2664,
                "ns": 6,
                "title": "File:Banner Imperator Rome.jpg"
            },
            "2665": {
                "pageid": 2665,
                "ns": 6,
                "title": "File:Banner Magna Graecia.jpg"
            }
        }
    }
}