You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="1562" ns="0" title="Main Page">
        <revisions>
          <rev user="Correcteur de redirection" comment="[[Projets &amp; Communauté]] a été renommé, ceci est maintenant une redirection vers [[Projets et Communauté]]" />
        </revisions>
      </page>
    </pages>
    <general mainpage="Documentation" base="http://www.kolor.com/wiki-fr/action/view/Documentation" sitename="Autopano" logo="http://www.kolor.com/wiki-fr/logo.png" generator="MediaWiki 1.23.6" phpversion="5.4.45-0+deb7u14" phpsapi="apache2handler" dbtype="mysql" dbversion="5.5.60-0+deb7u1" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefixcharset="" linkprefix="" linktrail="/^([a-zàâçéèêîôûäëïöüùÇÉÂÊÎÔÛÄËÏÖÜÀÈÙ]+)(.*)$/sDu" case="first-letter" lang="fr" fallback8bitEncoding="windows-1252" writeapi="" timezone="Europe/Berlin" timeoffset="120" articlepath="/wiki-fr/action/view/$1" scriptpath="/wiki-fr" script="/wiki-fr/index.php" server="http://www.kolor.com" wikiid="kolor_mediawiki-new-fr_" time="2019-07-19T07:09:56Z" maxuploadsize="104857600" favicon="http://www.kolor.com/favicon.ico">
      <fallback>
        <lang code="en" />
      </fallback>
      <thumblimits>
        <limit>120</limit>
        <limit>150</limit>
        <limit>180</limit>
        <limit>200</limit>
        <limit>250</limit>
        <limit>300</limit>
      </thumblimits>
      <imagelimits>
        <limit width="320" height="240" />
        <limit width="640" height="480" />
        <limit width="800" height="600" />
        <limit width="1024" height="768" />
        <limit width="1280" height="1024" />
      </imagelimits>
    </general>
  </query>
</api>