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>
<logevents>
<item logid="571" pageid="1" ns="0" title="Заглавная страница" type="patrol" action="patrol" user="Admin" timestamp="2016-09-30T08:07:06Z" comment="">
<patrol cur="572" prev="563" auto="1" />
</item>
<item logid="570" pageid="81" ns="0" title="SimpleHM Nginx Install SSL" type="patrol" action="patrol" user="Admin" timestamp="2016-09-30T08:06:26Z" comment="">
<patrol cur="571" prev="570" auto="1" />
</item>
<item logid="569" pageid="81" ns="0" title="SimpleHM Nginx Install SSL" type="patrol" action="patrol" user="Admin" timestamp="2016-09-30T08:06:04Z" comment="">
<patrol cur="570" prev="569" auto="1" />
</item>
<item logid="568" pageid="81" ns="0" title="SimpleHM Nginx Install SSL" type="patrol" action="patrol" user="Admin" timestamp="2016-09-30T08:02:53Z" comment="">
<patrol cur="569" prev="568" auto="1" />
</item>
<item logid="567" pageid="81" ns="0" title="SimpleHM Nginx Install SSL" type="patrol" action="patrol" user="Admin" timestamp="2016-09-30T08:02:45Z" comment="">
<patrol cur="568" prev="0" auto="1" />
</item>
<item logid="566" pageid="79" ns="0" title="OpenVZ RDP on VPS" type="patrol" action="patrol" user="Admin" timestamp="2016-09-14T15:26:08Z" comment="">
<patrol cur="567" prev="566" auto="1" />
</item>
<item logid="565" pageid="79" ns="0" title="OpenVZ RDP on VPS" type="patrol" action="patrol" user="Admin" timestamp="2016-09-14T15:25:55Z" comment="">
<patrol cur="566" prev="564" auto="1" />
</item>
<item logid="563" pageid="80" ns="0" title="OpenVZ VNC RDP" type="move" action="move" user="Admin" timestamp="2016-09-14T14:07:08Z" comment="">
<move new_ns="0" new_title="OpenVZ RDP on VPS" />
</item>
<item logid="564" pageid="79" ns="0" title="OpenVZ RDP on VPS" type="protect" action="move_prot" user="Admin" timestamp="2016-09-14T14:07:08Z" comment="[[OpenVZ VNC RDP]] переименована в [[OpenVZ RDP on VPS]]">
<param>OpenVZ VNC RDP</param>
</item>
<item logid="562" pageid="1" ns="0" title="Заглавная страница" type="patrol" action="patrol" user="Admin" timestamp="2016-09-14T14:06:37Z" comment="">
<patrol cur="563" prev="553" auto="1" />
</item>
</logevents>
</query>
<query-continue>
<logevents lestart="2016-09-14T13:46:03Z" />
</query-continue>
</api>