MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "batchcomplete": "", "continue": { "apcontinue": "Battlecruiser", "continue": "-||" }, "query": { "allpages": [ { "pageid": 260, "ns": 0, "title": "Banks" }, { "pageid": 261, "ns": 0, "title": "Baol" }, { "pageid": 262, "ns": 0, "title": "Barbaric Despoilers" }, { "pageid": 263, "ns": 0, "title": "Barren" }, { "pageid": 264, "ns": 0, "title": "Base intel level" }, { "pageid": 265, "ns": 0, "title": "Basic Hydroponics Farm" }, { "pageid": 266, "ns": 0, "title": "Basic Mine" }, { "pageid": 267, "ns": 0, "title": "Basic Power Plant" }, { "pageid": 268, "ns": 0, "title": "Basic Science Lab I" }, { "pageid": 269, "ns": 0, "title": "Basic resource" } ] } }