MediaWiki-API-Ergebnis

Dies ist die HTML-Repräsentation des JSON-Formats. HTML ist zur Fehlerbehebung gut, aber unpassend für den Anwendungsgebrauch.

Gib den Parameter format an, um das Ausgabeformat zu ändern. Um die Nicht-HTML-Repräsentation des JSON-Formats anzusehen, lege format=json fest.

Siehe die vollständige Dokumentation oder die API-Hilfe für weitere Informationen.

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 2
        },
        "search": [
            {
                "ns": 0,
                "title": "Dual Source GPS/DCF77 NTP-Server with AIS and ADS-B receivers",
                "snippet": "\u2026red. After a while it will blink red each second, and that's a good sign. <span class='searchmatch'>Meaning</span> you can leave it as it is. If it blinks properly, the above given command w\n",
                "size": 21708,
                "wordcount": 2944,
                "timestamp": "2018-02-22T12:19:30Z"
            },
            {
                "ns": 0,
                "title": "A relay box for control from Linux",
                "snippet": "\u2026: &quot;Get relay states - sends a single byte back to the controller, bit high <span class='searchmatch'>meaning</span> the corresponding relay is powered&quot;,\n",
                "size": 6339,
                "wordcount": 900,
                "timestamp": "2019-01-11T15:23:14Z"
            }
        ]
    }
}