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": 3
        },
        "search": [
            {
                "ns": 0,
                "title": "Honest Public License Version 1.1",
                "pageid": 303,
                "size": 2855,
                "wordcount": 436,
                "snippet": "...based on the Program which is intended to interact with third party users (<span class='searchmatch'>meaning</span> anyone other than you or if you are an entity such as a corporation and not\n",
                "timestamp": "2009-01-02T14:28:54Z"
            },
            {
                "ns": 0,
                "title": "Warhammer Online: Age of Reckoning",
                "pageid": 736,
                "size": 20011,
                "wordcount": 3261,
                "snippet": "...ypal support or healer career, though he also has many melee DPS elements, <span class='searchmatch'>meaning</span> players of this career will have to enter combat and fight to be able to he\n",
                "timestamp": "2008-09-19T19:42:56Z"
            },
            {
                "ns": 0,
                "title": "Warhammer-Online-Gold",
                "pageid": 753,
                "size": 25858,
                "wordcount": 4292,
                "snippet": "...ypal support or healer career, though he also has many melee DPS elements, <span class='searchmatch'>meaning</span> players of this career will have to enter combat and fight to be able to he\n",
                "timestamp": "2008-09-20T04:52:35Z"
            }
        ]
    }
}