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-continue>
    <logevents lestart="2013-11-29T18:51:17Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="347" pageid="72" ns="8" title="MediaWiki:Common.js" type="patrol" action="patrol" user="AP" timestamp="2018-02-07T14:29:15Z" comment="">
        <patrol cur="369" prev="368" auto="1" />
      </item>
      <item logid="346" pageid="72" ns="8" title="MediaWiki:Common.js" type="patrol" action="patrol" user="AP" timestamp="2018-02-07T14:24:08Z" comment="">
        <patrol cur="368" prev="367" auto="1" />
      </item>
      <item logid="345" pageid="72" ns="8" title="MediaWiki:Common.js" type="patrol" action="patrol" user="AP" timestamp="2018-02-07T14:20:19Z" comment="">
        <patrol cur="367" prev="366" auto="1" />
      </item>
      <item logid="344" pageid="72" ns="8" title="MediaWiki:Common.js" type="patrol" action="patrol" user="AP" timestamp="2018-02-07T14:17:40Z" comment="">
        <patrol cur="366" prev="0" auto="1" />
      </item>
      <item logid="343" pageid="61" ns="0" title="EG Contents" type="patrol" action="patrol" user="AP" timestamp="2014-12-24T12:36:41Z" comment="">
        <patrol cur="365" prev="364" auto="1" />
      </item>
      <item logid="342" pageid="61" ns="0" title="EG Contents" type="patrol" action="patrol" user="AP" timestamp="2014-10-02T14:53:58Z" comment="">
        <patrol cur="364" prev="363" auto="1" />
      </item>
      <item logid="341" pageid="61" ns="0" title="EG Contents" type="patrol" action="patrol" user="AP" timestamp="2014-09-08T09:41:19Z" comment="">
        <patrol cur="363" prev="362" auto="1" />
      </item>
      <item logid="340" pageid="61" ns="0" title="EG Contents" type="patrol" action="patrol" user="AP" timestamp="2014-09-08T09:40:02Z" comment="">
        <patrol cur="362" prev="269" auto="1" />
      </item>
      <item logid="339" pageid="71" ns="0" title="Start Page" type="move" action="move" user="AP" timestamp="2013-11-29T19:05:55Z" comment="">
        <move new_ns="0" new_title="Home Page" />
      </item>
      <item logid="338" pageid="70" ns="0" title="Full Map" type="patrol" action="patrol" user="AP" timestamp="2013-11-29T18:52:26Z" comment="">
        <patrol cur="359" prev="357" auto="1" />
      </item>
    </logevents>
  </query>
</api>