Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML est bien pour le débogage, mais inapproprié pour être utilisé dans une application.

Spécifiez le paramètre format pour modifier le format de sortie. Pour voir la représentation non HTML du format JSON, mettez format=json.

Voir la documentation complète, ou l’ aide de l’API pour plus d’information.

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 2
        },
        "search": [
            {
                "ns": 0,
                "title": "Phyto\u00e9puration eaux us\u00e9es/en",
                "pageid": 41297,
                "size": 24364,
                "wordcount": 3702,
                "snippet": "...er following the vertical filter. The horizontal filter works &quot;loaded up,&quot; <span class='searchmatch'>meaning</span>, the substrate is nearly always saturated in water. In absence of oxygen, a\n",
                "timestamp": "2021-07-07T14:50:59Z"
            },
            {
                "ns": 0,
                "title": "L'\u00e9nergie dans l'habitat/en",
                "pageid": 54437,
                "size": 20117,
                "wordcount": 3253,
                "snippet": "Thermal solar systems generally have an efficiency greater than 60%, <span class='searchmatch'>meaning</span> that if the sun radiates 1,000 W/m2, a solar water heater of 1 m2 will gene\n",
                "timestamp": "2022-11-08T09:35:50Z"
            }
        ]
    }
}