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": {
        "pages": {
            "1883": {
                "pageid": 1883,
                "ns": 6,
                "title": "Fichier:Dragon-sans-feu-.gif"
            },
            "1885": {
                "pageid": 1885,
                "ns": 6,
                "title": "Fichier:TSR 3126 The Book of Priestcraft.pdf"
            },
            "1884": {
                "pageid": 1884,
                "ns": 6,
                "title": "Fichier:TSR 3142 King of the Giantdowns.pdf"
            }
        }
    }
}