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="2015-12-02T21:13:30Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="344" pageid="39" ns="0" title="Rotate IPs" type="patrol" action="patrol" user="Vadim" timestamp="2017-02-07T17:14:48Z" comment="">
        <patrol cur="412" prev="69" auto="1" />
      </item>
      <item logid="343" pageid="65" ns="0" title="VPNDocs-OpenVPN-Windows8" type="patrol" action="patrol" user="Ejung" timestamp="2016-05-24T16:26:15Z" comment="">
        <patrol cur="411" prev="410" auto="1" />
      </item>
      <item logid="342" pageid="65" ns="0" title="VPNDocs-OpenVPN-Windows8" type="patrol" action="patrol" user="Ejung" timestamp="2016-04-16T20:59:43Z" comment="">
        <patrol cur="410" prev="265" auto="1" />
      </item>
      <item logid="341" pageid="162" ns="0" title="FoxyProxy with I2P" type="patrol" action="patrol" user="Ejung" timestamp="2016-01-11T04:07:02Z" comment="">
        <patrol cur="409" prev="0" auto="1" />
      </item>
      <item logid="340" pageid="2" ns="0" title="Help" type="patrol" action="patrol" user="Ejung" timestamp="2016-01-11T04:04:39Z" comment="">
        <patrol cur="408" prev="395" auto="1" />
      </item>
      <item logid="339" pageid="91" ns="0" title="VPNDocs-OpenVPN-OSX" type="patrol" action="patrol" user="Ejung" timestamp="2015-12-21T18:49:05Z" comment="">
        <patrol cur="407" prev="248" auto="1" />
      </item>
      <item logid="338" pageid="158" ns="0" title="How to enable VPN on your smart TV and other devices" type="patrol" action="patrol" user="Ejung" timestamp="2015-12-02T21:16:57Z" comment="">
        <patrol cur="406" prev="405" auto="1" />
      </item>
      <item logid="337" pageid="158" ns="0" title="How to enable VPN on your smart TV and other devices" type="patrol" action="patrol" user="Ejung" timestamp="2015-12-02T21:16:32Z" comment="">
        <patrol cur="405" prev="404" auto="1" />
      </item>
      <item logid="336" pageid="158" ns="0" title="How to enable VPN on your smart TV and other devices" type="patrol" action="patrol" user="Ejung" timestamp="2015-12-02T21:15:54Z" comment="">
        <patrol cur="404" prev="403" auto="1" />
      </item>
      <item logid="335" pageid="158" ns="0" title="How to enable VPN on your smart TV and other devices" type="patrol" action="patrol" user="Ejung" timestamp="2015-12-02T21:15:38Z" comment="">
        <patrol cur="403" prev="402" auto="1" />
      </item>
    </logevents>
  </query>
</api>