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="20180522071853|4766" />
</query-continue>
<query>
<logevents>
<item logid="4776" ns="0" title="Product" pageid="19" type="patrol" action="patrol" user="ITead" timestamp="2018-07-09T08:11:23Z" comment="">
<patrol cur="6398" prev="6397" auto="1" />
</item>
<item logid="4775" ns="0" title="Product" pageid="19" type="patrol" action="patrol" user="ITead" timestamp="2018-07-09T08:07:34Z" comment="">
<patrol cur="6397" prev="6370" auto="1" />
</item>
<item logid="4774" ns="0" title="Sonoff Dual" pageid="1448" type="patrol" action="patrol" user="ITead" timestamp="2018-07-04T01:35:36Z" comment="">
<patrol cur="6396" prev="6329" auto="1" />
</item>
<item logid="4773" ns="6" title="File:Sonoff Dual View 1.pdf" pageid="1708" img_sha1="qv9t2n9j93vyydk7be1fzcrnz09qln1" img_timestamp="2018-07-04T01:35:01Z" type="upload" action="upload" user="ITead" timestamp="2018-07-04T01:35:01Z" comment="MsUpload" />
<item logid="4772" ns="6" title="File:Sonoff Dual schematic 1.pdf" pageid="1707" img_sha1="hmusxonldpq1tn229zkt4o23i6n01rj" img_timestamp="2018-07-04T01:34:59Z" type="upload" action="upload" user="ITead" timestamp="2018-07-04T01:34:59Z" comment="MsUpload" />
<item logid="4771" ns="0" title="EWeLink Introduction" pageid="1477" type="patrol" action="patrol" user="ITead" timestamp="2018-07-03T09:45:54Z" comment="">
<patrol cur="6393" prev="6392" auto="1" />
</item>
<item logid="4770" ns="0" title="EWeLink Introduction" pageid="1477" type="patrol" action="patrol" user="ITead" timestamp="2018-07-03T07:04:40Z" comment="">
<patrol cur="6392" prev="6391" auto="1" />
</item>
<item logid="4769" ns="0" title="EWeLink Introduction" pageid="1477" type="patrol" action="patrol" user="ITead" timestamp="2018-07-03T06:55:14Z" comment="">
<patrol cur="6391" prev="6390" auto="1" />
</item>
<item logid="4768" ns="0" title="EWeLink Introduction" pageid="1477" type="patrol" action="patrol" user="ITead" timestamp="2018-07-03T06:53:01Z" comment="">
<patrol cur="6390" prev="6389" auto="1" />
</item>
<item logid="4767" ns="0" title="EWeLink Introduction" pageid="1477" type="patrol" action="patrol" user="ITead" timestamp="2018-07-03T06:47:19Z" comment="">
<patrol cur="6389" prev="6388" auto="1" />
</item>
</logevents>
</query>
</api>