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="2016-09-16T18:55:16Z" />
</query-continue>
<query>
<logevents>
<item logid="1195" ns="0" title="Main Page" pageid="1" type="patrol" action="patrol" user="Mysterious" timestamp="2017-06-04T15:17:34Z" comment="">
<patrol cur="1199" prev="1196" auto="1" />
</item>
<item logid="1194" ns="8" title="MediaWiki:Sidebar" pageid="214" type="patrol" action="patrol" user="Mysterious" timestamp="2017-01-22T20:18:24Z" comment="">
<patrol cur="1198" prev="291" auto="1" />
</item>
<item logid="1193" ns="4" title="Hercules:Privacy policy" pageid="228" type="patrol" action="patrol" user="Mysterious" timestamp="2016-10-06T18:46:50Z" comment="">
<patrol cur="1197" prev="285" auto="1" />
</item>
<item logid="1192" ns="0" title="Main Page" pageid="1" type="protect" action="protect" user="Mysterious" timestamp="2016-10-06T18:43:20Z" comment="">
<param>[edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)</param>
<param />
</item>
<item logid="1191" ns="0" title="Data Folder Structure" pageid="407" type="patrol" action="patrol" user="Wolfeh" timestamp="2016-10-04T03:24:58Z" comment="">
<patrol cur="1195" prev="663" auto="1" />
</item>
<item logid="1190" ns="0" title="Custom NPC" pageid="539" type="patrol" action="patrol" user="Wolfeh" timestamp="2016-10-04T03:22:16Z" comment="">
<patrol cur="1194" prev="1193" auto="1" />
</item>
<item logid="1189" ns="0" title="Custom NPC" pageid="539" type="patrol" action="patrol" user="Wolfeh" timestamp="2016-10-04T03:20:29Z" comment="">
<patrol cur="1193" prev="1192" auto="1" />
</item>
<item logid="1188" ns="0" title="Custom NPC" pageid="539" type="patrol" action="patrol" user="Wolfeh" timestamp="2016-10-04T03:20:07Z" comment="">
<patrol cur="1192" prev="0" auto="1" />
</item>
<item logid="1187" ns="0" title="Basic Scripting" pageid="95" type="patrol" action="patrol" user="Wolfeh" timestamp="2016-09-17T22:17:46Z" comment="">
<patrol cur="1191" prev="1186" auto="1" />
</item>
<item logid="1186" ns="0" title="Generate HPM Hook with HPMHookGen.pl" pageid="483" type="patrol" action="patrol" user="Haru" timestamp="2016-09-16T18:59:11Z" comment="">
<patrol cur="1190" prev="845" auto="1" />
</item>
</logevents>
</query>
</api>