MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 1,
            "suggestion": "meeting",
            "suggestionsnippet": "<em>meeting</em>"
        },
        "search": [
            {
                "ns": 0,
                "title": "Bootstrap/\u6805\u683c\u5b9e\u4f8b",
                "pageid": 3469,
                "size": 6625,
                "wordcount": 918,
                "snippet": "create more dynamic and flexible layouts. Each tier of classes scales up, <span class=\"searchmatch\">meaning</span> if you plan on setting the same widths for xs and sm, you only need to specify",
                "timestamp": "2024-06-25T09:37:28Z"
            }
        ]
    }
}