MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 5,
            "suggestion": "meeting",
            "suggestionsnippet": "<em>meeting</em>"
        },
        "search": [
            {
                "ns": 0,
                "title": "\u533a\u57df",
                "pageid": 295,
                "size": 30937,
                "wordcount": 4103,
                "snippet": "and a number based on the landmarks around it, though these are fixed, <span class=\"searchmatch\">meaning</span> the number doesn't reflect the order in which players find bases. When landing",
                "timestamp": "2025-08-31T10:31:53Z"
            },
            {
                "ns": 0,
                "title": "\u5b87\u5b99\u8239\u591a\u9732\u82ac\u53f7",
                "pageid": 394,
                "size": 7572,
                "wordcount": 1286,
                "snippet": "Technically, the ship enters this stage when one ship part is collected, <span class=\"searchmatch\">meaning</span> that obtaining the Positron Generator first can also trigger the change",
                "timestamp": "2025-08-30T07:25:40Z"
            },
            {
                "ns": 0,
                "title": "\u6811\u6d77\u7a74\u773c",
                "pageid": 482,
                "size": 17353,
                "wordcount": 2564,
                "snippet": "has no relevance to getting any parts, nor does it aid Olimar in any way, <span class=\"searchmatch\">meaning</span> it could be an erroneous leftover from an older version of the map. The",
                "timestamp": "2025-08-30T07:44:01Z"
            },
            {
                "ns": 0,
                "title": "\u76ae\u514b\u654f 3",
                "pageid": 205,
                "size": 41628,
                "wordcount": 5920,
                "snippet": "instance, the world record for Tropical Forest (Collect Treasure!) is 14710, <span class=\"searchmatch\">meaning</span> that the player completed the mission in 1 second, which is not normally",
                "timestamp": "2025-08-09T09:40:44Z"
            },
            {
                "ns": 0,
                "title": "\u6b27\u62df\u86f9",
                "pageid": 566,
                "size": 46302,
                "wordcount": 6193,
                "snippet": "be seen on the first visit to the area, it lies behind an electric gate, <span class=\"searchmatch\">meaning</span> that Yellow Pikmin from the Perplexing Pool are required to access it, though",
                "timestamp": "2025-08-31T07:07:30Z"
            }
        ]
    }
}