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": 1
        },
        "search": [
            {
                "ns": 0,
                "title": "Verizon Wireless Bamajam Music Arts Festival To Feature Country Artists",
                "pageid": 2250,
                "size": 2637,
                "wordcount": 453,
                "snippet": "...rts, use caution, and make sure you and your fiance can determine the true <span class='searchmatch'>meaning</span> behind the song and that it does, indeed, describe your feelings and your r\n",
                "timestamp": "2020-01-25T20:51:08Z"
            }
        ]
    }
}