MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{ "batchcomplete": "", "query": { "searchinfo": { "totalhits": 1 }, "search": [ { "ns": 0, "title": "Advice for Computer Science College Students", "pageid": 1449, "size": 18993, "wordcount": 3245, "snippet": "Most colleges designate certain classes as "writing intensive," <span class='searchmatch'>meaning</span>, you have a to write an awful lot to pass them. Look for those classes and \n", "timestamp": "2006-09-03T22:04:49Z" } ] } }