MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"query": {
"normalized": [
{
"from": "Main_Page",
"to": "Main Page"
}
],
"pages": {
"7": {
"pageid": 7,
"ns": 0,
"title": "Main Page",
"anoncontributors": 1,
"contributors": [
{
"userid": 1,
"name": "Sylveon"
},
{
"userid": 2,
"name": "Mp607"
},
{
"userid": 5,
"name": "Xiplus"
},
{
"userid": 16,
"name": "Xiplus-bot"
},
{
"userid": 17,
"name": "Sylveon-bot"
}
]
}
}
}
}