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": "M\u00e4rtyrer",
"snippet": "== Sekond Mihning (''=auch second <span class='searchmatch'>meaning</span>'') ==\n",
"size": 1180,
"wordcount": 152,
"timestamp": "2012-04-20T08:42:10Z"
},
{
"ns": 0,
"title": "John Cleese",
"snippet": "== The <span class='searchmatch'>Meaning</span> of Life ==\nSein Buch "The <span class='searchmatch'>Meaning</span> of Life" wurde 1841 in [[China]] \u00fcber zwei Milliarden mal verkauft und war\n",
"size": 3563,
"wordcount": 490,
"timestamp": "2015-02-10T23:20:22Z"
}
]
}
}