MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json

參見完整文件,或API幫助以獲取更多信息。

{
    "batchcomplete": "",
    "continue": {
        "grncontinue": "0.366704190164|0.369075366002|1643|0",
        "continue": "grncontinue||"
    },
    "query": {
        "pages": {
            "1250": {
                "pageid": 1250,
                "ns": 0,
                "title": "\u7b2c\u4e00\u6b21\u7528\u7dad\u5ba2\u5c31\u4e0a\u624b",
                "contentmodel": "wikitext",
                "pagelanguage": "zh-tw",
                "pagelanguagehtmlcode": "zh-Hant-TW",
                "pagelanguagedir": "ltr",
                "touched": "2010-08-30T08:51:20Z",
                "lastrevid": 22483,
                "length": 20230
            },
            "1338": {
                "pageid": 1338,
                "ns": 0,
                "title": "\u5be6\u9a57\u6027\u5c08\u6848",
                "contentmodel": "wikitext",
                "pagelanguage": "zh-tw",
                "pagelanguagehtmlcode": "zh-Hant-TW",
                "pagelanguagedir": "ltr",
                "touched": "2006-06-27T12:10:49Z",
                "lastrevid": 22694,
                "length": 517
            }
        }
    }
}