MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"query": {
"allcategories": [
{
"size": 0,
"pages": 0,
"files": 0,
"subcats": 0,
"*": "IC Capture"
},
{
"size": 6,
"pages": 6,
"files": 0,
"subcats": 0,
"*": "Linux"
},
{
"size": 16,
"pages": 16,
"files": 0,
"subcats": 0,
"*": "\u624b\u518a"
},
{
"size": 10,
"pages": 10,
"files": 0,
"subcats": 0,
"*": "\u6545\u969c\u6392\u9664"
},
{
"size": 5,
"pages": 5,
"files": 0,
"subcats": 0,
"*": "\u7a0b\u5f0f"
}
]
}
}