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 lecontinue="20180501090259|234" />
  </query-continue>
  <query>
    <logevents>
      <item logid="244" ns="0" title="Hoshiro" pageid="108" type="patrol" action="patrol" user="Exsharaen" timestamp="2020-05-06T17:29:58Z" comment="">
        <patrol cur="308" prev="0" auto="1" />
      </item>
      <item logid="243" ns="0" title="Trihollian" pageid="107" type="patrol" action="patrol" user="Exsharaen" timestamp="2020-05-06T15:43:18Z" comment="">
        <patrol cur="307" prev="0" auto="1" />
      </item>
      <item logid="242" ns="0" title="Hoshiro" pageid="108" type="protect" action="unprotect" user="Exsharaen" timestamp="2020-05-01T18:13:38Z" comment="" />
      <item logid="241" ns="0" title="Hoshiro" pageid="108" type="protect" action="protect" user="Exsharaen" timestamp="2020-05-01T18:13:26Z" comment="">
        <param>‎[create=sysop] (selamanya)</param>
        <param />
      </item>
      <item logid="240" ns="2" title="Pengguna:Claire" pageid="0" type="block" action="block" user="Exsharaen" timestamp="2020-05-01T18:08:26Z" comment="">
        <block duration="infinite" flags="nocreate,noemail" />
      </item>
      <item logid="239" ns="0" title="Humani Rèsurrècta" pageid="8" type="patrol" action="patrol" user="Exsharaen" timestamp="2020-04-30T17:53:04Z" comment="">
        <patrol cur="306" prev="55" auto="1" />
      </item>
      <item logid="238" ns="0" title="Our Journey (RPN)" pageid="7" type="patrol" action="patrol" user="Exsharaen" timestamp="2020-04-30T17:18:22Z" comment="">
        <patrol cur="305" prev="278" auto="1" />
      </item>
      <item logid="237" ns="0" title="Our Journey (RPG)" pageid="105" type="patrol" action="patrol" user="Exsharaen" timestamp="2020-01-01T16:54:23Z" comment="">
        <patrol cur="304" prev="302" auto="1" />
      </item>
      <item logid="236" ns="2" title="Pengguna:Toweropen3" pageid="0" type="block" action="block" user="Exsharaen" timestamp="2018-05-01T09:03:18Z" comment="Spam pranala ke situs luar">
        <block duration="infinite" flags="nocreate" />
      </item>
      <item logid="235" ns="2" title="Pengguna:Stringenemy6" pageid="0" type="block" action="block" user="Exsharaen" timestamp="2018-05-01T09:03:15Z" comment="Spam pranala ke situs luar">
        <block duration="infinite" flags="nocreate" />
      </item>
    </logevents>
  </query>
</api>