MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gafcontinue": "Banner_16x5_After_dark_official_screenshot_01.jpg|1927",
        "continue": "gafcontinue||"
    },
    "query": {
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "\u9996\u9875"
            },
            "372": {
                "pageid": 372,
                "ns": 0,
                "title": "Service buildings"
            },
            "511": {
                "pageid": 511,
                "ns": 0,
                "title": "DLC:Industries"
            },
            "535": {
                "pageid": 535,
                "ns": 0,
                "title": "DLC:Pearls from the East"
            },
            "647": {
                "pageid": 647,
                "ns": 0,
                "title": "Unique Factories"
            },
            "706": {
                "pageid": 706,
                "ns": 0,
                "title": "Police Department"
            },
            "871": {
                "pageid": 871,
                "ns": 0,
                "title": "Industries DLC Tutorial"
            },
            "1945": {
                "pageid": 1945,
                "ns": 0,
                "title": "\u9996\u9875/\u8f6e\u64ad"
            },
            "3103": {
                "pageid": 3103,
                "ns": 0,
                "title": "Banks"
            }
        }
    }
}