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": "",
    "result": {
        "translations": [
            {
                "translationId": "1",
                "sourceTitle": "Main Page",
                "targetTitle": "Accueil",
                "sourceLanguage": "en",
                "sourceRevisionId": "416",
                "targetRevisionId": "38",
                "targetLanguage": "fr",
                "sourceURL": "https://en.wiki.makerepo.com/wiki/Main Page",
                "targetURL": "https://fr.wiki.makerepo.com/wiki/Accueil",
                "publishedDate": "20200906211657",
                "stats": {
                    "any": 1,
                    "mt": 0,
                    "human": 1
                }
            },
            {
                "translationId": "3",
                "sourceTitle": "Microsoft Products",
                "targetTitle": "Produits Microsoft",
                "sourceLanguage": "en",
                "sourceRevisionId": "360",
                "targetRevisionId": "40",
                "targetLanguage": "fr",
                "sourceURL": "https://en.wiki.makerepo.com/wiki/Microsoft Products",
                "targetURL": "https://fr.wiki.makerepo.com/wiki/Produits Microsoft",
                "publishedDate": "20200906214940",
                "stats": {
                    "any": 1,
                    "mt": 0.8695652173913043,
                    "human": 0.13043478260869568
                }
            },
            {
                "translationId": "4",
                "sourceTitle": "Software prototyping",
                "targetTitle": "Prototypage de Logiciels",
                "sourceLanguage": "en",
                "sourceRevisionId": "558",
                "targetRevisionId": "41",
                "targetLanguage": "fr",
                "sourceURL": "https://en.wiki.makerepo.com/wiki/Software prototyping",
                "targetURL": "https://fr.wiki.makerepo.com/wiki/Prototypage de Logiciels",
                "publishedDate": "20201002203136",
                "stats": {
                    "any": 1,
                    "mt": 0.986013986013986,
                    "human": 0.013986013986013957
                }
            },
            {
                "translationId": "5",
                "sourceTitle": "How to submit an Order Request",
                "targetTitle": "Comment soumettre une demande de commande",
                "sourceLanguage": "en",
                "sourceRevisionId": "443",
                "targetRevisionId": "45",
                "targetLanguage": "fr",
                "sourceURL": "https://en.wiki.makerepo.com/wiki/How to submit an Order Request",
                "targetURL": "https://fr.wiki.makerepo.com/wiki/Comment soumettre une demande de commande",
                "publishedDate": "20201006152315",
                "stats": {
                    "any": 0.8888888888888888,
                    "mt": 0.9593406593406594,
                    "human": 0.040659340659340626
                }
            }
        ]
    }
}