MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 2
        },
        "search": [
            {
                "ns": 0,
                "title": "\u539f\u82f1\u5546\u5609\u58eb\u6d0b\u884c\u5009\u5eab/Former British Merchant Warehouse",
                "snippet": "...belongs to the National Property of the R.O.C. To preserve the historical <span class='searchmatch'>meaning</span> of this building, it was restored and repaired. It is now one of the most i\n",
                "size": 2304,
                "wordcount": 284,
                "timestamp": "2022-04-10T11:53:25Z"
            },
            {
                "ns": 0,
                "title": "\u6de1\u6c34\u91cd\u5efa\u885716\u865f\u8857\u5c4b/The House at 16, Chongjian Street",
                "snippet": "...a Chinese pharmacy store for generations. This store, thus, has a symbolic <span class='searchmatch'>meaning</span> in the medical history of Tamsui.\n",
                "size": 558,
                "wordcount": 58,
                "timestamp": "2022-04-11T07:14:48Z"
            }
        ]
    }
}