MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"query": {
"searchinfo": {
"totalhits": 4
},
"search": [
{
"ns": 0,
"title": "Achtung Cthulhu: Guide to the Pacific Front",
"pageid": 117,
"size": 2191,
"wordcount": 329,
"snippet": "\u2026y things stalking you, and the term "wildlife" potentially has a whole new <span class='searchmatch'>meaning</span>...\n",
"timestamp": "2019-12-01T08:45:55Z"
},
{
"ns": 0,
"title": "Achtung Cthulhu: Secrets of the Dust (Supplement)",
"pageid": 122,
"size": 2692,
"wordcount": 406,
"snippet": "\u2026ar 2 has been unnaturally extended by the introduction of alien technology <span class='searchmatch'>meaning</span> that in the year 1947, conflict still rages across all corners of the globe\n",
"timestamp": "2019-12-01T08:45:56Z"
},
{
"ns": 0,
"title": "At Your Door",
"pageid": 158,
"size": 3201,
"wordcount": 456,
"snippet": "\u2026eaning of earlier events and experiences are understood, or as alternative <span class='searchmatch'>meaning</span>s are perceived. The effects of the Mythos are generally subtle, and confron\n",
"timestamp": "2019-12-01T08:45:58Z"
},
{
"ns": 0,
"title": "Fearful Passages",
"pageid": 251,
"size": 4026,
"wordcount": 584,
"snippet": "\u2026ong, arduous, luxurious, and debilitating, but always full of incident and <span class='searchmatch'>meaning</span>.\n",
"timestamp": "2019-12-01T08:46:03Z"
}
]
}
}